BjoKaSH / maczfs-archive

Legacy MacZFS - Archived here due Google-code shutdown. Automatically exported from code.google.com/p/maczfs -- Do Not Use! Use https://openzfsonosx.org/
Other
1 stars 0 forks source link

Cannot export pool; Resource busy #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ zpool export foobar
cannot unmount '/Volumes/foobar': Resource busy

This occurs when exporting a pool (without the 'force' flag) as Apple's 
fseventsd is still holding 
onto an open resource (even though it's not using it at present). I suspect 
that the key problem is 
the fseventsd opens a file, and keeps it open, even though the disk isn't 
needed any more.

There may be a way to kick fseventsd in the future so that it goes away, but 
for the time being, this 
message may come up. The workaround is to use zpool export -f foobar.

Original issue reported on code.google.com by alex.ble...@gmail.com on 8 Mar 2010 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by alex.ble...@gmail.com on 11 Mar 2010 at 7:59