First impressions and changing a mountpoint

Moderators: jhartley, MSR734, nola

First impressions and changing a mountpoint

Post by pmhausen » Fri Apr 19, 2013 1:22 pm

Hi, all,

I'm impressed ;-) Finally a usable ZFS for Mac OS X. So I hope ... :-)

OK, installation on Mountain Lion was as simple as can be. Creating a zpool on a slice of my SSD worked, once I updated to Zevo 1.1.1.
A minor glitch: unchecking "show child filesystems ..." in the preference pane removes child filesystems from the sidebar but not
from the desktop. Not a big thing.

Now the first major gotcha:

Code: Select all
$ sudo zpool create -f ZFS /dev/disk0s4
$ sudo zfs create ZFS/Music
$ sudo chown -R pmh:staff /Volumes/ZFS/Music
$ # copy my music files from iTunes there using the Finder
$ cd ~/Music/iTunes/iTunes\ Media
$ mv Music Music.bak
$ sudo zfs set mountpoint=/Users/pmh/iTunes/iTunes\ Media/Music ZFS/Music


*kaboom*

This took down the Finder with shrapnel. The system behaved pretty odd afterwards.
I could not get keyboard focus to any application. Fortunately the power button and
the final mouse click to the confirmation dialog still worked, so I could shutdown
cleanly. After the reboot everything looks like it's running fine. My media files
are on the ZFS, "zpool scrub ZFS" did not show any errors and the volume is mounted
where I intended it to be so iTunes is running just fine:

Code: Select all
$ zfs list
NAME         USED   AVAIL   REFER  MOUNTPOINT
ZFS        29,5Gi  17,5Gi   896Ki  /Volumes/ZFS
ZFS/Music  29,5Gi  17,5Gi  29,5Gi  /Users/pmh/Music/iTunes/iTunes Media/Music


BTW: I do have backup of everything plus all my music files in iTunes Match so I can just
re-download. I just thought it would be a nice smoke test and something for the ZFS
to chew on to put my music there. Plus if it proves stable, my next test will be
zfs send over the network to zfs receive on my FreeNAS box ;-)

As you might have guessed, I jumped right into it because I have a couple of years of experience
using ZFS in production on FreeBSD. And I really love it.

Thanks for all the work!

Patrick
pmhausen Offline


 
Posts: 2
Joined: Thu Apr 18, 2013 4:06 pm

Re: First impressions and changing a mountpoint

Post by raattgift » Fri Apr 19, 2013 3:27 pm

Finder robustness, whee. I've seen the same; the workaround is to zfs unmount the dataset -- it's probably a good idea to set the canmount=noauto property temporarily -- then change the mountpoint property, and zfs mount as necessary.

Do you have the Finder icon in your Dock? If so, does clicking on that fire the Finder back up after it crashes with shrapnel?
raattgift Offline


 
Posts: 98
Joined: Mon Sep 24, 2012 11:18 pm

Re: First impressions and changing a mountpoint

Post by pmhausen » Sat Apr 20, 2013 12:10 am

Yes, sort of ;-)

It restarted, but after that I could not get keyboard focus to any application, not even the terminal window I had been using. Clean shutdown, reboot, fixed for now.

Kind regards
Patrick
pmhausen Offline


 
Posts: 2
Joined: Thu Apr 18, 2013 4:06 pm

Link

Post by grahamperrin » Sun Apr 21, 2013 3:03 am

I spun off part of this topic:

grahamperrin Offline

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


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron