7/3/2023 0 Comments Osx mounting openzfs disk![]() ![]() ![]() When creating the zpool, there are a few options you will want check and set appropriately: % cd /Volumes/Clone/Library/LaunchDaemons/ % sudo cp autoimport-repo/.ist /Volumes/Clone/Library/LaunchDaemons/ We now need to add a few bits to the Clone disk so it will import our zpool at boot time. When completed, you’ll see there’s still plenty of room for Applications.įilesystem Size Used Avail Capacity iused ifree %iused Mounted on Next, I clone my primary disk to the Clone partition using CarbonCopy except I exclude /Users which is where my home directory resides. I used Disk Utility to change the size then changed the TYPE for the ZFS partition #3 using the gdisk utility mentioned on the wiki. Here’s a snapshot of my 1TB mirror disk after partitioning. OSX doesn’t require a lot of disk space and depending on your additional software needs, you can probably resize the OSX boot partition to 250GB. Prepare Mirror Disk Partition Mirror Disk Lrwxr-xr-x 1 root wheel 28 Apr 13 11:39 zfs.kext -> /Library/Extensions/zfs.kext Others have pointed out a missing symbolic link which prevents mounting at boot from working. zfs.kext -depth -print | cpio -pdmu /System/Library/Extensions/ My install showed different months (January and March I think) so I fixed this with: # ls -lR Library/Extensions/zfs.kext/ System/Library/Extensions/zfs.kext/ This was causing my zpool to fail importing at boot time. I had some leftovers from installing from source so I had drivers installed in two different directories and they were different versions. I would like to point out one issue I had with the OpenZFS_on_ OS_X_1.2.0.dmg disk image. No reboots are required and you can now start creating zpools and ZFS file systems. Installation is as simple as double-clicking on the package. Follow the link over to OpenZFS on OS X and download the disk image. You’ll first want to head over to OpenZFS and read all about it. This is pretty simple with two disks but I thought I would cover the steps here and hopefully help others down the ZFS path. My goal is to migrate my home directories, /Users, to a ZFS mirror and keep OSX on it’s own partition. The primary boot drive is partitioned into one big slice and I use CarbonCopy to clone this disk to the second disk. My desktop is a hack(intosh) with Mavericks installed on two internal 1TB drives. Let me start by describing my configuration. In this post, I’ll cover some of the issues encountered along the way. I recently decided to try out the OpenZFS implementation of ZFS on my mac desktop and so far, I’m impressed. ![]()
0 Comments
Leave a Reply. |