zpool import -N mounts filesystems anyway
Christian Kujau
lists at nerdbynature.de
Mon Jun 19 05:28:26 UTC 2017
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
More information about the freebsd-questions
mailing list