I'm using ZFS on OSX and I've zpool which is active and online:
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
WD_1TB 931G 280G 651G 30% 1.00x ONLINE -
but I can't actually mount it.
$ sudo zfs mount WD_1TB
cannot open 'WD_1TB': pool I/O is currently suspended
cannot open 'WD_1TB': pool I/O is currently suspended
or unmount it:
$ sudo zfs unmount WD_1TB
cannot open 'WD_1TB': pool I/O is currently suspended
cannot open 'WD_1TB': pool I/O is currently suspended
or even destroy it:
$ sudo zpool destroy -f WD_1TB
cannot open 'WD_1TB': pool I/O is currently suspended
When doing zpool export WD_1TB it just freezes.
When clearing device errors in a pool, there is an error as well:
$ sudo zpool clear WD_1TB
cannot clear errors for WD_1TB: I/O error
Above happening whatever the disk is connected via USB or not.
What's interesting that zpool status points zpool to /dev/disk1, but diskutil list points to /dev/disk3.
I've enabled debug messages via: sysctl -w zfs.vnops_osx_debug=1 and run sudo dmesg | tail which shows something like:
0 [Level 3] [Facility com.apple.system.fs] [ErrType IO] [ErrNo 6] [IOType Read] [PBlkNum 0] [LBlkNum 0]
0 [Level 3] [Facility com.apple.system.fs] [DevNode devfs] [MountPt /dev] [Path /dev/disk1s2]
disk1s2: media is not present.
0 [Level 3] [Facility com.apple.system.fs] [ErrType IO] [ErrNo 6] [IOType Read] [PBlkNum 512] [LBlkNum 512]
0 [Level 3] [Facility com.apple.system.fs] [DevNode devfs] [MountPt /dev] [Path /dev/disk1s2]
zfs_vnop_write(vp 0xffffff804f6303c0, offset 0x12b00000 size 0x10000
zfs_vnop_write(vp 0xffffff804f6303c0, offset 0x12b10000 size 0x10000
zfs_vnop_write(vp 0xffffff804f6303c0, offset 0x12b20000 size 0x10000
zfs_vnop_write(vp 0xffffff804f6303c0, offset 0x12b30000 size 0x10000
zfs_vnop_write(vp 0xffffff8051b031e0, offset 0x1f0000 size 0x10000
Connecting or disconnecting HDD doesn't help.
Any way of simply mounting the HDD on OSX in above circumstances?
Related: