From owner-freebsd-questions@freebsd.org Mon Jun 19 05:28:25 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 E7CB0D95E7C for ; Mon, 19 Jun 2017 05:28:25 +0000 (UTC) (envelope-from lists@nerdbynature.de) Received: from trent.utfs.org (trent.utfs.org [IPv6:2a03:3680:0:3::67]) (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 B140A648BE for ; Mon, 19 Jun 2017 05:28:25 +0000 (UTC) (envelope-from lists@nerdbynature.de) Received: from localhost (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by trent.utfs.org (Postfix) with ESMTPS id C838C5FF50; Mon, 19 Jun 2017 07:28:22 +0200 (CEST) Date: Sun, 18 Jun 2017 22:28:22 -0700 (PDT) From: Christian Kujau To: Mel Pilgrim cc: David Christensen , freebsd-questions@freebsd.org Subject: Re: zpool import -N mounts filesystems anyway In-Reply-To: Message-ID: References: <7f41df25-df2e-298e-d33e-cc95874e831c@bluerosetech.com> User-Agent: Alpine 2.21.1 (DEB 211 2017-05-04) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Mon, 19 Jun 2017 05:28:26 -0000 On Sun, 18 Jun 2017, Mel Pilgrim wrote: > # zpool list backupA > cannot open 'backupA': no such pool > # zpool import -N backupA > # zpool list backupA > NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT > backupA 696G 189G 507G - 1% 27% 1.00x ONLINE - > # zfs list backupA > NAME USED AVAIL REFER MOUNTPOINT > backupA 189G 486G 22K /backup-ext/backupA Are you sure that the pool is actually mounted at this point? On that Solaris 11.3 machine: solaris0# zpool import -N foo solaris0# zfs list foo NAME USED AVAIL REFER MOUNTPOINT foo 94K 9.78G 31K /mnt/foo solaris0# df -h /mnt/foo/ Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris 9.8G 3.3G 872M 80% / So, "zfs list" only lists the mountpoint-to-be: solaris0# zfs list -o mountpoint,mounted foo MOUNTPOINT MOUNTED /mnt/foo no HTH, Christian. -- BOFH excuse #17: fat electrons in the lines