Date: Sun, 18 Jun 2017 22:28:22 -0700 (PDT) From: Christian Kujau <lists@nerdbynature.de> To: Mel Pilgrim <list_freebsd@bluerosetech.com> Cc: David Christensen <dpchrist@holgerdanske.com>, freebsd-questions@freebsd.org Subject: Re: zpool import -N mounts filesystems anyway Message-ID: <alpine.DEB.2.21.1.1706182222130.3364@trent.utfs.org> In-Reply-To: <d4b055f2-2273-6df8-fe55-640f3b56e04d@bluerosetech.com> References: <7f41df25-df2e-298e-d33e-cc95874e831c@bluerosetech.com> <eb778163-8387-fd55-8e8f-d65ec221e6e8@holgerdanske.com> <d4b055f2-2273-6df8-fe55-640f3b56e04d@bluerosetech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.DEB.2.21.1.1706182222130.3364>