Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2016 17:06:48 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Julien Cigar <julien@perdition.city>, freebsd-fs@FreeBSD.org
Subject:   Re: zpool cachefile
Message-ID:  <81ee2466-7566-9a49-648a-296b3f38cb71@FreeBSD.org>
In-Reply-To: <20160809124143.GE70364@mordor.lan>
References:  <20160809124143.GE70364@mordor.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81ee2466-7566-9a49-648a-296b3f38cb71>