zpool from a single slice on the boot disk

Moderators: jhartley, MSR734, nola

zpool from a single slice on the boot disk

Post by daniel.jozsef » Mon Oct 29, 2012 9:44 pm

I just explained the problem in the installation forum in the Users directory thread, but I think it might be good to spin it off like this.

Goal:
Have a HFS+ slice on the primary (only) HDD for the system. (/dev/disk0s1)
Use the rest of the drive as a zpool (and mount it as /Users). (/dev/disk0s2)

Question:
Will Zevo cut it? How should I go about it? Apparently I'll need to create the slice FIRST, and then specify the slice as the device for creating the pool. What do I create the slice with? How do I create the pool?
daniel.jozsef Offline


 
Posts: 14
Joined: Sun Sep 30, 2012 2:26 pm

Re: zpool from a single slice on the boot disk

Post by grahamperrin » Tue Oct 30, 2012 12:42 am

Please, which OS?

The slice numbers in your opening post may be inappropriate.

daniel.jozsef wrote:… should be simple … what command or tool should I create that slice with? …


diskutil … or if you prefer, Recovery OS Disk Utility.

In most cases, using a single disk for both HFS Plus and ZFS is not recommended – please see Don's post under Planned improvements for boot device limitations?

daniel.jozsef wrote:… automount the User folder on startup?


The mount should occur automatically.
grahamperrin Offline

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

Re: zpool from a single slice on the boot disk

Post by daniel.jozsef » Tue Oct 30, 2012 6:08 am

Mountain Lion (or Lion, see below). (Sorry it was late and I mistyped the disk sizes there, I just fixed them haha... Of course I don't want to install Lion on 750 Mb space.)

Yes maybe the slice numbers start from 0. :) Anyway you get the idea, I'd like to format the majority of the disk as ZFS to use for the Users filesystem.

The reason I'm contemplating downgrading to Lion is that with the entire disk formatted for HFS+ with Mountain Lion, I get inexplicable symbolic link corruption. The SMART system does not detect any errors, and by all means, the disk looks and sounds perfect. So it is either a problem with too large disks, or the drive is failing, or a bug in Mountain Lion (unfortunately I upgraded the OS simultaneously with the HDD upgrade), as I never experienced something like this in Lion...
I'm hoping moving the Users folder to ZFS and downgrading to Lion might solve the problem, either with ZFS detecting the HDD failure, or with the problem going away. ;)
daniel.jozsef Offline


 
Posts: 14
Joined: Sun Sep 30, 2012 2:26 pm

Re: zpool from a single slice on the boot disk

Post by daniel.jozsef » Tue Oct 30, 2012 11:42 am

BTW, the performance hit from the single lock in HFS+... I'm wondering if I'm making it WORSE by installing ZFS on the same device, or just failing to take advantage of ZFS? Is a single HFS+ partition spanning the drive "just as bad"? :)
daniel.jozsef Offline


 
Posts: 14
Joined: Sun Sep 30, 2012 2:26 pm


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 2 guests

cron