From owner-freebsd-questions@freebsd.org Sun Jun 18 21:01:14 2017 Return-Path: Delivered-To: freebsd-questions@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 6EDC2D8E204 for ; Sun, 18 Jun 2017 21:01:14 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 533407C32D for ; Sun, 18 Jun 2017 21:01:14 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (c-73-240-250-185.hsd1.or.comcast.net [73.240.250.185]) by echo.brtsvcs.net (Postfix) with ESMTPS id 3D87750006; Sun, 18 Jun 2017 21:01:13 +0000 (UTC) Received: from [IPv6:fe80::7102:4df8:1f13:5c55] (unknown [IPv6:fe80::7102:4df8:1f13:5c55]) by chombo.houseloki.net (Postfix) with ESMTPSA id 238CC50B; Sun, 18 Jun 2017 14:01:12 -0700 (PDT) Subject: Re: zpool import -N mounts filesystems anyway To: David Christensen , freebsd-questions@freebsd.org References: <7f41df25-df2e-298e-d33e-cc95874e831c@bluerosetech.com> From: Mel Pilgrim Message-ID: <0859f87b-f4f2-84ee-4e47-ad5c526bce06@bluerosetech.com> Date: Sun, 18 Jun 2017 14:01:19 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2017 21:01:14 -0000 On 06/18/2017 13:19, David Christensen wrote: > On 06/18/17 01:24, Mel Pilgrim wrote: >> 11.0-RELEASE-p7 >> The pools and filesystems are all at current feature sets and versions. > > Your BSD appears to be out of date: All of the errata notices and security advisories between p7 and p10 do not affect me and don't involve ZFS, so I haven't rolled an update yet. > 2017-06-18 12:47:54 dpchrist@freebsd ~ > I will assume 'mount' and 'ls /backup-ext' show the file system as mounted. They do, yes. > Setting the canmount property to noauto means that the file system can > only be mounted explicitly, not automatically. I saw that, but that's not a solution. If I don't set canmount=on, I have to mount the datasets manually--a greater problem than not being able to import without mounting. In normal operation, importing the pool mounts things where they should go automatically. It makes the automated tool that uses these pools simpler and lets me use features of ZFS to manage the datasets and when/where they're used. I'm seeking a way to temporarily override canmount=on without twiddling ZFS properties, and the documented meaning of -N appears to be that, but isn't doing what I interpret the document says it should do. Is -N not meant to temporarily override canmount?