unmounting ok?

Moderators: jhartley, MSR734, nola

unmounting ok?

Post by rlhamil » Sat Sep 15, 2012 9:20 pm

With MacZFS, unmounting a filesystem could be a pain, because mds (Spotlight indexer) had files open on it. I had to do the following:
sh-3.2# launchctl unload /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sh-3.2# zfs umount -a
sh-3.2# launchctl load /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Does ZEVO CE also have that issue, or does it take care of it somehow?
rlhamil Offline


 
Posts: 1
Joined: Sat Sep 15, 2012 7:18 pm

Re: unmounting ok?

Post by holzi » Sun Sep 16, 2012 11:05 am

I did not have any problem with unmounting yet.
holzi Offline


 
Posts: 7
Joined: Sat Sep 15, 2012 4:46 am

Re: unmounting ok?

Post by dch » Tue Sep 18, 2012 12:43 pm

For MacZFS (& presumably also zevo) you should disable spotlight indexing on zfs:

Code: Select all
# current state
sudo mdutil -sav
# disable /Volumes/tub
sudo mdutil -E -i off /Volumes/tub
# sanity check
sudo mdutil -sav
dch Offline


 
Posts: 2
Joined: Mon Sep 17, 2012 9:11 am

Re: unmounting ok?

Post by Nathaniel » Tue Sep 18, 2012 12:55 pm

You can disable spotlight on a volume by just dragging the volume to the Privacy tab in the Spotlight preferences, too.
Nathaniel Offline


 
Posts: 3
Joined: Sat Sep 15, 2012 1:20 am

Re: unmounting ok?

Post by markpat3rson » Tue Sep 18, 2012 1:11 pm

what about ZFS on internal drives? Is it safe to leave spotlight ON for them? I have no plans on ever ejecting my internal RaidZ - it houses my home folder. And for that reason, I would like to have access to Spotlight!
markpat3rson Offline


 
Posts: 12
Joined: Sun Sep 16, 2012 8:57 pm

Re: unmounting ok?

Post by grahamperrin » Tue Sep 18, 2012 3:38 pm

dch wrote:For MacZFS (& presumably also zevo) you should disable spotlight indexing on zfs…


For ZEVO, that should not be necessary.
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: ilovezfs and 1 guest

cron