-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big Sur Input/output error when unmounting dataset whose mountpoint is gone #41
Comments
JFYI, I did same test to check on my MB / Catalina. Result is OK (no such issue as you stated for Catalina) Kind regards |
Did same check on another MB-Air 2012 with BigSur ProductName: macOS Indeed, same issue
|
On BigSur
after
(should be same effect as 'umount -f /Volumes/foo', as stated by ilovezfs) it was possible to do successfully
Sorry , no added value in all this, just check/confirm. |
Thanks for confirming @captain-haddock17 One unfortunate thing is that I wonder what Apple is trying to achieve with the verification of the mountpoint directory's presence on Big Sur, given that the node is clearly still mounted on and in need of some way to get unmounted directly, and given that it unmounts fine when the parent is unmounted with force. It might be interesting to hunt down the change in xnu to see if there's a comment that might explain what the motivation was. |
It would also probably be helpful if at minimum |
This behavior seems specific to Big Sur as it does not occur on Catalina.
The script is here: https://gist.github.com/ilovezfs/92978595c91e28dce0090a5484988cb5
Note that the only way to recover is to
umount -f
the mountpoint of the parent dataset.zfs unmount -f
is ineffective (I suspect theumount
fallback is not passing the-f
option evenzfs unmount -f
was called.On FreeBSD and OmniOS, you can
zfs unmount foo/bar && zfs mount foo/bar
and do not need to force unmount the parent dataset to recover. On Linux, the operating system automatically removes the mount after a few seconds if its mountpoint has gone missing, and so you just need to runzfs mount foo/bar
.The text was updated successfully, but these errors were encountered: