From owner-freebsd-fs@freebsd.org Tue Aug 9 14:08:12 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1862EBB42C2 for ; Tue, 9 Aug 2016 14:08:12 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 53A2315D1 for ; Tue, 9 Aug 2016 14:08:10 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA08736; Tue, 09 Aug 2016 17:08:09 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1bX7hR-000686-7i; Tue, 09 Aug 2016 17:08:09 +0300 Subject: Re: zpool cachefile To: Julien Cigar , freebsd-fs@FreeBSD.org References: <20160809124143.GE70364@mordor.lan> From: Andriy Gapon Message-ID: <81ee2466-7566-9a49-648a-296b3f38cb71@FreeBSD.org> Date: Tue, 9 Aug 2016 17:06:48 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160809124143.GE70364@mordor.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 14:08:12 -0000 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