Re: zpool requires re-import on reboot

From: Allan Jude <freebsd_at_allanjude.com>
Date: Mon, 18 Nov 2013 03:54:28 -0500
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



Received on Mon Nov 18 2013 - 07:54:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC