Hello-
I want to upgrade a 9.3-RELEASE system to 10.3-RELEASE. Using ZFS on both /zroot and /zdata. After installing sysutils/beadm, I tried:
Googling around revealed that the ZFS root set needed to be renamed to zroot/ROOT/default.
I'm a bit nervous as this is our backup server in production and I want to make sure I get this correct! Here's the zfs list:
And here are the mounts for /zroot:
What do I need to do in order to have the system recognized as having the correct boot environment? Do these?
[FONT=Courier New]
I am particularly concerned that 1) there is a legacy point there and I'm not sure how to handle that; and 2) I do not have a ZFS fileset of zroot/ROOT to begin with.
Thanks,
~Doug
I want to upgrade a 9.3-RELEASE system to 10.3-RELEASE. Using ZFS on both /zroot and /zdata. After installing sysutils/beadm, I tried:
Code:
root@backup:/root # beadm list
ERROR: This system is not configured for boot environments
root@backup:/root #
Googling around revealed that the ZFS root set needed to be renamed to zroot/ROOT/default.
I'm a bit nervous as this is our backup server in production and I want to make sure I get this correct! Here's the zfs list:
Code:
root@backup:/root # zfs list | g zroot
zroot 35.6G 42.1G 144K /
zroot/root 19.4G 41.7G 19.4G /root
zroot/rootfs 9.64G 41.7G 9.64G legacy
zroot/tmp 312K 41.7G 312K /tmp
zroot/usr 5.91G 41.7G 216K /usr
zroot/usr/home 216K 41.7G 216K /usr/home
zroot/usr/local 2.37G 41.7G 1.90G /usr/local
zroot/usr/local@2016-05-15_06.00.00--1m 11.8M - 1.68G -
zroot/usr/local@2016-05-22_06.00.00--1m 73.8M - 1.89G -
zroot/usr/local@2016-05-29_06.00.00--1m 1.54M - 1.90G -
zroot/usr/local@2016-06-05_06.00.00--1m 20.5M - 1.90G -
zroot/usr/local@2016-06-12_06.00.00--1m 0 - 1.90G -
zroot/usr/obj 1.26G 41.7G 1.26G /usr/obj
zroot/usr/ports 2.28G 41.7G 1.61G /usr/ports
zroot/usr/ports/distfiles 690M 41.7G 690M /usr/ports/distfiles
zroot/usr/src 336K 41.7G 336K /usr/src
zroot/var 125M 41.7G 216K /var
zroot/var/audit 216K 41.7G 216K /var/audit
zroot/var/crash 216K 41.7G 216K /var/crash
zroot/var/empty 216K 41.7G 216K /var/empty
zroot/var/log 123M 41.7G 123M /var/log
zroot/var/mail 216K 41.7G 216K /var/mail
zroot/var/run 652K 41.7G 652K /var/run
zroot/var/tmp 228K 41.7G 228K /var/tmp
root@backup:/root #
And here are the mounts for /zroot:
Code:
root@backup:/root # mount | g zroot
zroot/rootfs on / (zfs, local, noatime, nfsv4acls)
zroot/root on /root (zfs, local, noatime, nosuid, nfsv4acls)
zroot/tmp on /tmp (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/usr/local on /usr/local (zfs, local, noatime, nfsv4acls)
zroot/usr/obj on /usr/obj (zfs, local, noatime, nosuid, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
zroot/usr/ports/distfiles on /usr/ports/distfiles (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/empty on /var/empty (zfs, local, noatime, noexec, nosuid, read-only, nfsv4acls)
zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/run on /var/run (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, noatime, noexec, nosuid, nfsv4acls)
root@backup:/root #
What do I need to do in order to have the system recognized as having the correct boot environment? Do these?
[FONT=Courier New]
zfs snapshot zroot@beadm
zfs create zroot/ROOT
zfs send zroot@beadm | zfs receive zroot/ROOT/default
[/FONT]I am particularly concerned that 1) there is a legacy point there and I'm not sure how to handle that; and 2) I do not have a ZFS fileset of zroot/ROOT to begin with.
Thanks,
~Doug
Last edited: