zevo inside laptop

Moderators: jhartley, MSR734, nola

zevo inside laptop

Post by rahvee » Sun Feb 17, 2013 9:04 am

Before I get to the real question, let me ask this. I have a laptop, just a single internal drive, want to run zevo to hold my guest VM's. I tried shrinking Mac HD and adding second partition for zevo to use - diskutility horked the disk, I had to restore from Time Machine. Plus, if I do that, the guest VM's will have no encryption (second partition not encrypted by filevault). So then I created one huge file via "dd" and created pool inside it. This works, but unfortunately, because it's not an actual device, zevo doesn't find it upon reboot. I have to "sudo zpool import -a -d" after every reboot.

So the two questions are,
(1) what's the recommended way to split a single hard disk and create a zpool inside an existing disk?
(2) Is there some way for me to find a zpool.cache file somewhere, possibly edit it, and get this file-backed zpool to import automatically at reboot?
rahvee Offline


 
Posts: 2
Joined: Sat Feb 16, 2013 11:52 am

Advice

Post by grahamperrin » Sun Feb 17, 2013 1:54 pm

I see your post under ZVOL or equivalent.

To partition the disk, to add a slice: use Disk Utility.

Using the utility in that way should not cause a problem. If a problem occurs at that stage, seek advice from an Apple-oriented area (I use Ask Different, YMMV).

For OS X plus ZFS, be aware that a single-disk configuration is less than optimal:


Which version of the OS do you use? What model is the laptop? How much memory? Make and model of disk drive?

I have Mountain Lion on a MacBookPro5,2 with 8 GB memory and a Seagate Momentus® XT ST750LX003-1AC154 solid state hybrid drive (sshd). I do have the mixture that should be avoided:


I use Core Storage to encrypt a logical volume. That LV is given to ZEVO.

With or without Core Storage: to give a slice of a disk to ZEVO, use zpool(8)
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