zpool cachefile

Andriy Gapon avg at FreeBSD.org
Tue Aug 9 14:08:12 UTC 2016


On 09/08/2016 15:41, Julien Cigar wrote:
> Hello,
> 
> I'd like to prevent a zpool from being mounted at boot time, which is
> achieved by setting the cachefile property of the zpool to "none".
> It works as expected, but every time every time I'm issuing a $> zpool
> import mypool the cachefile property rollback to the default value.. is
> it expected? 

Yes.

> Do I need to do a zpool import -o cachefile=none mypool instead?

Yes. Or you can use -R.


-- 
Andriy Gapon


More information about the freebsd-fs mailing list