How to configure a TRULY cross-platform ZFS
Posted: Tue Nov 20, 2018 8:41 am
If you read my last post I'm sad to report I have thrown in the towel and zeroed the devices. I am now trying to setup a new ZFS volume which can be mounted on Linux and macOS. The alternative I wish to avoid is a headless BSD or Solaris network share. Last time I tried to configure a new ZFS volue on mac and linux and could never get the other OS to mount the volume. It gave errors about upsupported datto features etc. Here is what my plan is. Where am I going wrong?
I've tried before without the obvious com.apple.ignoreowner=on and it didn't make a difference. To overcome the ownership problem I tried this https://allysonjulian.com/posts/creatin ... _with_zfs/ without any success. Any tips or tricks are appreciated. Linux version Manjaro (Arch derivative) with Kernel 4.19 and macOS 10.13.6 High Sierra.
- Code: Select all
zpool create -o ashift=12 -o failmode=continue -O atime=off -O compression=lz4 -O casesensitivity=insensitive -O normalization=formD -O checksum=edonr -O mountpoint=/tmp/Pond -O canmount=noauto Pond mirror /private/var/run/disk/by-id/media-### /private/var/run/disk/by-id/media-####
zpool set feature@encryption=enabled
zfs create -o encryption=aes-256-gcm -o keyformat=passphrase -o keylocation=prompt -o pbkdf2iters=100000 Pond/Puddle
zfs set com.apple.ignoreowner=on Pond
zfs set mountpoint=/Volumes/Puddle Pond/Puddle
I've tried before without the obvious com.apple.ignoreowner=on and it didn't make a difference. To overcome the ownership problem I tried this https://allysonjulian.com/posts/creatin ... _with_zfs/ without any success. Any tips or tricks are appreciated. Linux version Manjaro (Arch derivative) with Kernel 4.19 and macOS 10.13.6 High Sierra.