why doesn't root-on-ZFS mount bootpool by default?

Aryeh Friedman aryeh.friedman at gmail.com
Sun Oct 16 22:46:50 UTC 2016


Fresh install of 11.0-PL1 with MBD/Stripped (single disk) non-encrypted has
the following mount points:

zroot/ROOT/default   933311872 1177108 932134764     0%    /
devfs                        1       1         0   100%    /dev
bootpool               2015288  123760   1891528     6%    /bootpool
zroot/tmp            932134860      96 932134764     0%    /tmp
zroot/usr/home       932134900     136 932134764     0%    /usr/home
zroot/usr/ports      932134860      96 932134764     0%    /usr/ports
zroot/usr/src        933363924 1229160 932134764     0%    /usr/src
zroot/var/audit      932134860      96 932134764     0%    /var/audit
zroot/var/crash      932134860      96 932134764     0%    /var/crash
zroot/var/log        932134916     152 932134764     0%    /var/log
zroot/var/mail       932134860      96 932134764     0%    /var/mail
zroot/var/tmp        932134860      96 932134764     0%    /var/tmp
zroot                932134860      96 932134764     0%    /zroot

If fixed with zfs import -f bootpool and then adding the following to
loader.conf:

zpool_cache_load="YES"
zpool_cache_type="/boot/zfs/zpool.cache"
zpool_cache_name="/boot/zfs/zpool.cache"



On Sun, Oct 16, 2016 at 6:41 PM, Steven Hartland <killing at multiplay.co.uk>
wrote:

> We'll need some more details to go on before your question can be answered
> properly.
>
> Please post all the relevant details about your setup, what you did, what
> you expected and what actually happened?
>
> On 16/10/2016 21:39, Aryeh Friedman wrote:
>
>> It is very annoying (make world and install kmods from ports) to not have
>> /bootpool be mounted by default (I found the right fixes [not documented
>> in
>> the handbook])... why is this the case?
>>
>>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>



-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-hackers mailing list