From owner-freebsd-questions@freebsd.org Wed Jun 21 05:20:41 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 257E5D867F2 for ; Wed, 21 Jun 2017 05:20:41 +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 1067B80868 for ; Wed, 21 Jun 2017 05:20:40 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2601:1c2:1401:9956:21c:c0ff:fe7f:96ee]) by echo.brtsvcs.net (Postfix) with ESMTPS id E4E2A50005; Wed, 21 Jun 2017 05:20:39 +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 EBED3BA8; Tue, 20 Jun 2017 22:20:38 -0700 (PDT) Subject: Re: zpool import -N mounts filesystems anyway To: Christian Kujau Cc: David Christensen , freebsd-questions@freebsd.org References: <7f41df25-df2e-298e-d33e-cc95874e831c@bluerosetech.com> <8294aeef-6399-cc5d-1d3d-ac1925430b05@bluerosetech.com> From: Mel Pilgrim Message-ID: <1ee3845a-6b46-cde6-3681-92586d17a0ea@bluerosetech.com> Date: Tue, 20 Jun 2017 22:20:50 -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: Wed, 21 Jun 2017 05:20:41 -0000 On 06/19/2017 12:02, Christian Kujau wrote: > On Mon, 19 Jun 2017, Mel Pilgrim wrote: >> # zpool export backupB >> # ls -l /backup-ext/backupB >> total 0 >> # zpool import backupB >> # ls /backup-ext/backupB >> z0 > > Just to double-check: what does "ls" say when you use -N during import? > > C. # zfs get -r canmount,mountpoint backupA NAME PROPERTY VALUE SOURCE backupA canmount on local backupA mountpoint /backup-ext/backupA local backupA/z0 canmount on local backupA/z0 mountpoint /backup-ext/backupA/z0 inherited from backupA # zpool export backupA # zpool import -N backupA # ls /backup-ext/backupA z0