Created
November 30, 2016 19:50
-
-
Save grahamperrin/5404fa1af9409302725f03a2274034e2 to your computer and use it in GitHub Desktop.
ZFS boot environments demystified: confirming the goodness of http://unix.stackexchange.com/a/327146/13260
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# whoami ; pwd | |
root | |
/tmp | |
# beadm list | |
BE Active Mountpoint Space Created Nickname | |
initial - - 5.4G 2016-08-22 11:24 initial | |
20161005193649_201610142022 - - 3.1G 2016-10-14 20:22 12.0-CURRENT-up-20161014_204827 | |
20161028134949_201610291803 - - 754.3M 2016-10-29 18:03 12.0-CURRENT-up-20161029_180801 | |
20161028134949_14_201611081710 - - 1.2M 2016-11-08 17:10 12.0-CURRENT-up-20161108_171012 | |
12.0-CURRENT-up-20161125_173806 - /tmp/BE-12.0-CURRENT-up-20161125_173806.8eHQejDo 7.5G 2016-11-25 17:12 12.0-CURRENT-up-20161125_173806 | |
12.0-CURRENT-up-20161125_201510 - /tmp/BE-12.0-CURRENT-up-20161125_201510.tcV9NY27 7.4G 2016-11-25 19:49 12.0-CURRENT-up-20161125_201510 | |
12.0-CURRENT-up-20161126_180139 - /tmp/BE-12.0-CURRENT-up-20161126_180139.6Xoqglrp 7.4G 2016-11-26 17:35 12.0-CURRENT-up-20161126_180139 | |
12.0-CURRENT-up-20161128_075252 - /tmp/BE-12.0-CURRENT-up-20161128_075252.Pa6UTO4z 29.4M 2016-11-28 07:52 12.0-CURRENT-up-20161128_075252 | |
12.0-CURRENT-up-20161129_081127 NR / 45.5G 2016-11-29 08:11 12.0-CURRENT-up-20161129_081127 | |
# ls -dl BE-* | |
drwxr-xr-x 22 root wheel 30 30 Nov 19:28 BE-12.0-CURRENT-up-20161125_173806.8eHQejDo | |
drwxr-xr-x 22 root wheel 29 25 Nov 20:15 BE-12.0-CURRENT-up-20161125_201510.tcV9NY27 | |
drwxr-xr-x 22 root wheel 29 26 Nov 18:01 BE-12.0-CURRENT-up-20161126_180139.6Xoqglrp | |
drwx------ 2 root wheel 2 30 Nov 19:24 BE-12.0-CURRENT-up-20161128_075252.Ksve0Roy | |
drwxr-xr-x 22 root wheel 30 29 Nov 08:11 BE-12.0-CURRENT-up-20161128_075252.Pa6UTO4z | |
# strings BE-12.0-CURRENT-up-20161125_173806.8eHQejDo/boot/kernel/kernel | egrep ^FreeBSD\ 12.0-CURRENT > BE-12.0-CURRENT-up-20161125_173806.8eHQejDo/uname.txt | |
# cat BE-12.0-CURRENT-up-20161125_173806.8eHQejDo/uname.txt ; beadm umount 12.0-CURRENT-up-20161125_173806 | |
FreeBSD 12.0-CURRENT #40 a8b0e29(drm-next-4.7): Tue Nov 22 16:43:26 UTC 2016 | |
Unmounted successfully | |
# strings BE-12.0-CURRENT-up-20161125_201510.tcV9NY27/boot/kernel/kernel | egrep ^FreeBSD\ 12.0-CURRENT > BE-12.0-CURRENT-up-20161125_201510.tcV9NY27/uname.txt | |
# cat BE-12.0-CURRENT-up-20161125_201510.tcV9NY27/uname.txt ; beadm umount 12.0-CURRENT-up-20161125_201510 | |
FreeBSD 12.0-CURRENT #40 a8b0e29(drm-next-4.7): Tue Nov 22 16:43:26 UTC 2016 | |
Unmounted successfully | |
# strings BE-12.0-CURRENT-up-20161126_180139.6Xoqglrp/boot/kernel/kernel | egrep ^FreeBSD\ 12.0-CURRENT > BE-12.0-CURRENT-up-20161126_180139.6Xoqglrp/uname.txt | |
# cat BE-12.0-CURRENT-up-20161126_180139.6Xoqglrp/uname.txt ; beadm umount 12.0-CURRENT-up-20161126_180139 | |
FreeBSD 12.0-CURRENT #40 a8b0e29(drm-next-4.7): Tue Nov 22 16:43:26 UTC 2016 | |
Unmounted successfully | |
# strings BE-12.0-CURRENT-up-20161128_075252.Pa6UTO4z/boot/kernel/kernel | egrep ^FreeBSD\ 12.0-CURRENT > BE-12.0-CURRENT-up-20161128_075252.Pa6UTO4z/uname.txt | |
# cat BE-12.0-CURRENT-up-20161128_075252.Pa6UTO4z/uname.txt ; beadm umount 12.0-CURRENT-up-20161128_075252 | |
FreeBSD 12.0-CURRENT #14 1717ae3(drm-next-4.7): Fri Oct 28 13:49:49 UTC 2016 | |
Unmounted successfully | |
# beadm list | |
BE Active Mountpoint Space Created Nickname | |
initial - - 5.4G 2016-08-22 11:24 initial | |
20161005193649_201610142022 - - 3.1G 2016-10-14 20:22 12.0-CURRENT-up-20161014_204827 | |
20161028134949_201610291803 - - 754.3M 2016-10-29 18:03 12.0-CURRENT-up-20161029_180801 | |
20161028134949_14_201611081710 - - 1.2M 2016-11-08 17:10 12.0-CURRENT-up-20161108_171012 | |
12.0-CURRENT-up-20161125_173806 - - 7.5G 2016-11-25 17:12 12.0-CURRENT-up-20161125_173806 | |
12.0-CURRENT-up-20161125_201510 - - 7.4G 2016-11-25 19:49 12.0-CURRENT-up-20161125_201510 | |
12.0-CURRENT-up-20161126_180139 - - 7.4G 2016-11-26 17:35 12.0-CURRENT-up-20161126_180139 | |
12.0-CURRENT-up-20161128_075252 - - 29.4M 2016-11-28 07:52 12.0-CURRENT-up-20161128_075252 | |
12.0-CURRENT-up-20161129_081127 NR / 45.5G 2016-11-29 08:11 12.0-CURRENT-up-20161129_081127 | |
# ls -dl BE-* | |
drwx------ 2 root wheel 2 30 Nov 19:24 BE-12.0-CURRENT-up-20161128_075252.Ksve0Roy | |
# ls -al BE-12.0-CURRENT-up-20161128_075252.Ksve0Roy | |
total 33 | |
drwx------ 2 root wheel 2 30 Nov 19:24 . | |
drwxrwxrwt 30 root wheel 69 30 Nov 19:36 .. | |
# rm -r BE-12.0-CURRENT-up-20161128_075252.Ksve0Roy | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment