zpool requires re-import on reboot

Allan Jude freebsd at allanjude.com
Mon Nov 18 08:54:31 UTC 2013


On 2013-11-18 03:51, Beeblebrox wrote:
>> Is there anything "non-standard" about your configuration?
>> All pools that are present in /boot/zfs/zpool.cache on a root filesystem of a
>> root pool should be automatically imported.
> Yes I know that, hence the reason I posted.
>
> ll /boot/zfs  shows recently updated zpool.cache =>
> -rw-r--r--  1 root  wheel  3736 Nov 18 10:03 zpool.cache
>
> * No special setting on pool or datasets of the pool
> * /etc/src.conf even has "LOADER_ZFS_SUPPORT= yes"
> * custom kernel has label disabled (#options        GEOM_LABEL ).
> However, generic kernel shows same behavior.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
In /boot/loader.conf try adding:

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


This should make it read the zpool.cache file and mount all of the pools, instead of only the one which contains your root file system



-- 
Allan Jude


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131118/03277882/attachment.sig>


More information about the freebsd-current mailing list