ZFS hanging and pool suspended with USB Hard Drives
beren12 opened this issue · comments
I had this happen on my MBP with a portable drive, and my dad's 10.11 machine with a 3.5" external USB. Here's a spindump. nothing could get the IO going, zpool online/export would hang forever.
All the ZFS active threads are waiting in zio_wait()
for IO to complete. It is as if the device stopped responding. Can you coax it into speaking again using zpool clear pool [dev]
zpool online pool dev
and zpool reopen pool
?
Does it show in diskutil list
(when it is hung), can you dd read from it?
zpool clear and zpool online hang. Not sure about dd or diskutil list…
touching a file nor doing /bin/ls on the drive stopped the hang
This drive worked fine for the past year as hfs so pretty sure it's not hardware related.
Regarding @baren12 mentioning zpool clear hanging, zpool clear hangs for me with my TB3 disk array if the array lost power or if I accidentally unplug the cable from my MacBook Pro while the pool was still online. Using 10.15.5. During such an event, I also can't reboot MacOS without a hard reboot from the power button.