1st February 2009
Text
I took a stab at ZFS on my MacBook Pro, using MacOSForge r119 read/write version, as a pkg.
As I don’t have any spare hardware to put a new filesystem on, I used a simple file. Oh I love Unix. This way:
- dd if=/dev/zero of=zfs.disk bs=1m count=100
- zpool create somename /Users/lloeki/Sandbox/zfs/zfs.disk
- put in some file with the finder
- zpool export somename
- zpool import -d /Users/lloeki/Sandbox/zfs somename
And it works damn fine. Hopefully they’ll have zfs-crypto ready sooner or later, so it’ll remove the need for TrueCrypt. And the thing works for a home filesytem, although caveat does apply (read the FAQ).
Additionally, these are useful:
- zpool import -d /Users/lloeki/Sandbox/zfs
- zfs list
- zpool status
More notes:
- Ejecting the disk with the finder is not sufficient: export it or it’s still in the pool.
- Full path must be used for create/import. In real world (i.e not using some loopback file), according to man page either it’ll look in /dev/disk* by itself, or you’d specify the /dev/disk* file on creation.