If you still have 'legacy' mounted boot environments, read on ...
In build 166, we've removed mount support for 'legacy' mounted
BEs from libbe. This in turn impacts all of the beadm subcommands
to be able to handle BEs with 'legacy' mounts. You need to convert
your BEs to non-legacy mounted BEs for beadm to work properly.
More importantly, this also impacts pkg(1) usage of boot
environments, and hence your "pkg update" will also fail from
166 if you haven't yet converted your BE.
To check if you still have any 'legacy' mounted BEs, look at the
'mountpoint' property of your BEs' root dataset, e.g:
# zfs get -r mountpoint rpool/ROOT
NAME PROPERTY VALUE SOURCE
rpool/ROOT mountpoint legacy local
rpool/ROOT/os-151a mountpoint / local
rpool/ROOT/os-162 mountpoint / local
rpool/ROOT/os-163 mountpoint / local
rpool/ROOT/os-164 mountpoint / local
rpool/ROOT/os-165 mountpoint legacy local
rpool/ROOT/os-165 mountpoint / local
If any BE root dataset (the datasets directly under rpool/ROOT) are
set to 'legacy', you need to convert them to using non-legacy mounts
before using beadm on them. To convert them:
# mount -F zfs <BE root dataset> </mnt>
# vi </mnt>/etc/vfstab (remove the "/" entry if it exists)
# umount <BE root dataset>
# zfs set mountpoint=/ <BE root dataset>
If you're already running 166 and it's 'legacy' mounted, you'll have to
boot back to an older BE and do the steps above on it since you won't
be able to change its mountpoint property while it's mounted at "/".
Note, you can and should convert your BEs to non-legacy mount at
any time before running 166.
It is also recommended that any subordinate datasets that you have
under the BE root dataset not use legacy mounts either. At this time,
they are still supported in the code, but once 7015117 is fixed,
support for that will also be removed.
Note: because of bug 7052673, in build 166 beadm's lack of support
for 'legacy' mounted BEs may appear to work, or fails in un-obvious
ways. For example, running "beadm mount" on a 'legacy' mounted BE
will yield a 0 return code, but nothing gets mounted. See 7052540 for
details on this issue.
Note: BEs with content older than build 101a don't support non-legacy
mounted roots, so you should not convert those. Those BEs are simply
no longer supported by beadm. If you want to boot those, you will just
have to select it from your grub menu when you reboot, or use the -L
flag with the boot command on Sparc.
thanks,
-ethan
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss