Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bootenvironments [2020/01/21 14:23] – Add bectl create and activate commands BenWoodsbootenvironments [2023/01/29 14:38] (current) – man.freebsd.org GrahamPerrin
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This page is meant to serve as an introduction to boot environments, primarily architected as expected by bectl(8)/libbe(3). The target audience is generally system administrators with pre-existing setups that are not currently operable with bectl(8), but some details are mixed-in for audiences that perhaps don't have as much experience and wish to understand how boot environments work for further manipulation.+This page is meant to serve as an introduction to boot environments, primarily architected as expected by bectl(8)/libbe(3). The target audience is generally system administrators with pre-existing setups that are not currently operable with bectl(8), but some details are mixed-in for audiences that perhaps don't have as much experience and wish to understand how boot environments work for further manipulation. [[https://www.freshports.org/sysutils/beadm|beadm(1)]] will also work with such layouts, as the below generally reflects project defaults.
  
 ===== Pool Layout/Design ===== ===== Pool Layout/Design =====
Line 73: Line 73:
 $ bectl list $ bectl list
 BE      Active Mountpoint Space Created BE      Active Mountpoint Space Created
-default        /          1.27M 2020-01-15 14:55 +default -      -          1.27M 2020-01-15 14:55 
-test    NR     -          21.6G 2020-01-21 22:19+test    NR     /          21.6G 2020-01-21 22:19
 </code> </code>
  
Line 84: Line 84:
   - It is always recommended to have rescue media on-hand in case of issues so that you can rollback to the aforementioned checkpoint.   - It is always recommended to have rescue media on-hand in case of issues so that you can rollback to the aforementioned checkpoint.
   - If loader for some reason fails to determine the proper dataset to use as the root dataset, you should be able to drop to the loader prompt and ''%%set vfs.root.mountfrom%%'' to your root dataset (in the form ''%%zfs:zroot/ROOT/default%%'') to get the system to userland for correction.   - If loader for some reason fails to determine the proper dataset to use as the root dataset, you should be able to drop to the loader prompt and ''%%set vfs.root.mountfrom%%'' to your root dataset (in the form ''%%zfs:zroot/ROOT/default%%'') to get the system to userland for correction.
 +
 +===== See Also =====
 +
 +  * [[https://www.freshports.org/sysutils/beadm|sysutils/beadm]]
 +  * [[https://is.gd/BECTL|ZFS Boot Environments Reloaded]]
 +  * [[https://man.freebsd.org/cgi/man.cgi?query=bectl&sektion=8&manpath=freebsd-release|bectl(8) manpage]]
  
 ---- ----
  • bootenvironments.1579616600.txt.gz
  • Last modified: 2020/01/21 14:23
  • by BenWoods