Using the boot menu to select a boot environment is broken with the current beadm -- selecting anything other than the active one leaves ZFS trying to mount two systems on '/' (I believe is what is happening, at least; "failed to intialize ZFS library" is reported on the console) and the boot goes sideways. This is because beadm is creating boot environments with canmount=yes, but the latest (on github) uses canmount=noauto; changed for this very issue: https://github.com/vermaden/beadm/pull/33 With 11.0 released, it would be helpful for beadm and the loader to play nicely together.
Re: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208601#c21 * this bug 214430 may be a duplicate of bug 208601
(In reply to Graham Perrin from comment #1) It is.
Created attachment 181413 [details] Patch zfs command line to use 'noauto' instead 'off' I've tested this on my machine and it works. If there are any use/corner cases this patch breaks, please do tell!
Maintainer feedback?
We need an rc script to mount zfs datasets on boot before this change can go in for people like me who have children datasets like so: # zfs list -r zroot/ROOT NAME USED AVAIL REFER MOUNTPOINT zroot/ROOT 25.0G 34.3G 31K none zroot/ROOT/releng_10.2-r287145 25.0G 34.3G 415M / zroot/ROOT/releng_10.2-r287145/usr 14.5G 34.3G 1.47G /usr zroot/ROOT/releng_10.2-r287145/usr/dump 328M 34.3G 328M /usr/dump zroot/ROOT/releng_10.2-r287145/usr/local 4.00G 34.3G 1.93G /usr/local zroot/ROOT/releng_10.2-r287145/usr/local/share 954M 34.3G 205M /usr/local/share zroot/ROOT/releng_10.2-r287145/usr/obj 6.97G 34.3G 5.59G /usr/obj zroot/ROOT/releng_10.2-r287145/usr/src 1.45G 34.3G 1.18G /usr/src zroot/ROOT/releng_10.2-r287145/var 10.1G 34.3G 448M /var zroot/ROOT/releng_10.2-r287145/var/db 4.10G 34.3G 731M /var/db zroot/ROOT/releng_10.2-r287145/var/db/pkg 141M 34.3G 59.9M /var/db/pkg zroot/ROOT/releng_10.2-r287145/var/empty 32K 34.3G 31K /var/empty zroot/ROOT/releng_10.2-r287145/var/log 408M 34.3G 319M /var/log zroot/ROOT/releng_10.2-r287145/var/run 1.11M 34.3G 67.5K /var/run zroot/ROOT/releng_10.2-r287145/var/tmp 70K 34.3G 41K /var/tmp
Yes this is a duplicate of Bug 208601 *** This bug has been marked as a duplicate of bug 208601 ***