I don’t use this anymore, but kept the instructions here for future reference
I ran this to check my disk partitions:
1 | diskutil list |
In the output below, you’ll notice I have a mac
partition where OS X 10.10 Yosemite is installed. I made sure I didn’t use my whole drive.
After the installation and reboot, I added a ExFAT partition named tank
using the Disk Utility app. This is the partition I will relabel/erase.
1 | /dev/disk0 |
Then I installed OpenZFS_on_OS_X_1.3.0.dmg
from OpenZFS On OS X
I took note of the IDENTIFIER
of the partition I want to erase/use as ZFS: in my case disk0s4
and changed the label to ZFS with:
1 | diskutil eraseVolume ZFS %noformat% /dev/disk0s4 |
The output looked like this:
1 | Started erase on disk0s4 tank |
I also verified my disk partitions to make sure:
1 | diskutil list |
With the output that looked like this now:
1 | /dev/disk0 |
Then I created a zpool with:
1 | sudo zpool create tank /dev/disk0s4 |
And to verify it was created:
1 | zpool status |
With output:
1 | pool: tank |
You’ll notice I didn’t use FileVault under my zpool. I’ve tried using FileVault + ZFS and it was terribly slow. I’m going to attempt to use an encrypted sparse bundle on ZFS.