Mounting /Applications on a ZFS filesystem

Moderators: jhartley, MSR734, nola

Mounting /Applications on a ZFS filesystem

Post by amteza » Sat Oct 20, 2012 5:37 pm

Hi there,

After some testing I've got mounted my /Users and /Applications on two separate ZFS filesystems, some more filesystems are inside Users, but I think that aren't relevant to may problem.

I did try to mount my zfspool/applications on /Applications but it hangs the machine at boot. After some test I decided to set the mountpoint to /Volumes/Macintosh\ HD/Applications... now it works!

So, do you have any suggestions to set my mountpoint to /Applications directly and get it working?, I don't like my actual solution.

Cheers.
amteza Offline


 
Posts: 22
Joined: Wed Oct 17, 2012 4:40 am
Location: Spain

Re: Mounting /Applications on a ZFS filesystem

Post by grahamperrin » Wed Oct 24, 2012 11:20 pm

Which OS?

amteza wrote:… I did try to mount my zfspool/applications on /Applications but it hangs the machine at boot. …


Is the hang before or after appearance of loginwindow?

Boot the machine without a hang then consider:

  • with Console, the lines between bootlog and loginwindow
  • without Console, other early things that might require /Applications

Here for example I have:

Code: Select all
2012-10-24 18:00:03.000 bootlog[0]: BOOT_TIME 1351098003 0
2012-10-24 18:00:09.000 kernel[0]: Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64


Code: Select all
2012-10-24 18:00:09.000 kernel[0]: 3878 Little Snitch: start


– etc., logged before start of launchd (and when I observe lines such as those during verbose boot, the actual timing seems different).

I imagine that the Little Snitch KEXT alone can't do its job without the app … imagine that the KEXT might be:

  • designed to fail gracefully if the app is not present
  • not designed for use cases where the content of /Applications is not present.

So. If not Little Snitch, what's in your use case?

----

More generally: I like experimentation, but I wouldn't give /Applications to ZFS … mainly because I like reinstallation of the OS to be as simple as possible. YMMV.
grahamperrin Offline

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

Re: Mounting /Applications on a ZFS filesystem

Post by amteza » Thu Oct 25, 2012 1:39 am

grahamperrin wrote:Which OS?

  • with Console, the lines between bootlog and loginwindow
  • without Console, other early things that might require /Applications

Here for example I have:

Code: Select all
2012-10-24 18:00:03.000 bootlog[0]: BOOT_TIME 1351098003 0
2012-10-24 18:00:09.000 kernel[0]: Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64


Code: Select all
2012-10-24 18:00:09.000 kernel[0]: 3878 Little Snitch: start


– etc., logged before start of launchd (and when I observe lines such as those during verbose boot, the actual timing seems different).

I imagine that the Little Snitch KEXT alone can't do its job without the app … imagine that the KEXT might be:

  • designed to fail gracefully if the app is not present
  • not designed for use cases where the content of /Applications is not present.

So. If not Little Snitch, what's in your use case?

----

More generally: I like experimentation, but I wouldn't give /Applications to ZFS … mainly because I like reinstallation of the OS to be as simple as possible. YMMV.


I'm using Mountain Lion 10.8.2. Good advised, I did check it and iStat Menu was the offender one. ;) Anyway in the end I did a link to /Volumes/zfspool/Applications and it solved the issue. Finally I'd my Applications folder moved again to a HFS+ partition, just to use Time Machine as my OS recovery method.

Thanks for your time.
amteza Offline


 
Posts: 22
Joined: Wed Oct 17, 2012 4:40 am
Location: Spain


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 2 guests

cron