Dismount a zfs from Disk Utility

Moderators: jhartley, MSR734, nola

Dismount a zfs from Disk Utility

Post by jxh » Sat Nov 03, 2012 5:38 pm

I got Zevo CE the other day and have been putting it to work. At one point I wanted to dismount my sole zfs filesystem (/Volumes/big) and since I had Disk Utility up, I tried it from there. It eventually dismounted (I think I had to exit a shell first) but when I tried to mount it again I got the "you didn't put this away cleanly" popup, it wouldn't mount, and "zpool list" said I had no pools. Like the whole thing had vanished. A reboot brought it back, and a scrub finished with zero errors. Nothing I read so far said I shouldn't be able to do this.

Bit I won't do it again. Lion Server, 10.7.5. Only 4GB of memory, but over 1GB is free.
jxh Offline


 
Posts: 3
Joined: Fri Nov 02, 2012 3:53 pm

Re: Dismount a zfs from Disk Utility

Post by grahamperrin » Sat Nov 03, 2012 5:44 pm

Maybe related:


Steps to reproduce may be different in this topic, but in code there could be a common cause.

jxh wrote:… "zpool list" said I had no pools. Like the whole thing had vanished. A reboot brought it back …


A guess: mount point debris prevented (re)mount of the root file system; and reboot cleared that debris.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Dismount a zfs from Disk Utility

Post by grahamperrin » Sun Nov 04, 2012 12:52 am

jxh wrote:… Lion Server, 10.7.5. …


Is AFP or SMB enabled and if so, was any part of your big root file system shared?
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Dismount a zfs from Disk Utility

Post by jxh » Mon Nov 05, 2012 10:45 am

AFP is enabled, but not for ZFS (the description of the hack dissuaded me from trying to move my TimeMachine stuff over to ZFS, so the hack is not present in my system). SMB is not enabled.

This morning, there was a popup saying "The disk you inserted is not formatted; ignore, something else, initialize" (paraphrasing). What disk? I didn't insert nothin! And the ZFS volume is still happily mounted and active, having finished a resilver yesterday afternoon (after a "zpool attach -f" turned the single disk into a mirror). Hmmm. I hit "Initialize" and let it take me to Disk Utility, which didn't show anything that wasn't there yesterday.
jxh Offline


 
Posts: 3
Joined: Fri Nov 02, 2012 3:53 pm

Re: Dismount a zfs from Disk Utility

Post by jxh » Mon Nov 05, 2012 10:48 am

Ah! I was also still running 1.1, where the cited article mentions some fixes in 1.1.1. I'll go and get that.
jxh Offline


 
Posts: 3
Joined: Fri Nov 02, 2012 3:53 pm


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 2 guests

cron