openzfsonosx / zfs

OpenZFS on OS X

Home Page:https://openzfsonosx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hang on shutdown without pools

Fnuxus opened this issue · comments

My Mac always hangs on shutdown when there are no pools connected: The screen gets black, the mouse pointer is still there and movable, but nothing else happens, even after hours of waiting.

I have known this problem for some years now, and it was the reason why I gave up on ZFS some years ago.

I solved this problem now by setting up a dummy USB thumb drive as ZFS pool with no data on it that always stays in one of my USB ports.

This does the trick, but it is not exactly as it should be, because things like that scare off new ZFS users.

OpenZFS for OSX 1.9.3.1 on macOS Mojave 10.14.6 (18G4032); Mac Pro 6,1 with 32 GB RAM.

  • I didn't had this issue on my MacPro 5,1 with zpool on 3x HD. (ZFS v 1.8.x / 1.9.x)
  • I have the reverse issue on my MacBook with a zpool on a vdev (file) see #756
  • I don't have this issue if I do a zpool export -a before initiating shutdown (Note : in case of a vdev see #756 )

El Capitan 10.13.6 upgraded to Mojave 10.14.6