zpool cachefile

Julien Cigar julien at perdition.city
Tue Aug 9 14:14:04 UTC 2016


On Tue, Aug 09, 2016 at 05:06:48PM +0300, Andriy Gapon wrote:
> 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.

Got it, thanks!

> 
> 
> -- 
> Andriy Gapon

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20160809/5e21dce9/attachment.sig>


More information about the freebsd-fs mailing list