first thx a lot steini84 for the nice howto 🙂
I have to questions:
1. i crypted my datasets data/docker, data/vm and data/media with a keyfile stored on /mnt/disk1. My unraid array is fs btrfs crypted so the keyfile is only awayable if i mount my array with a password. On reboot the server and manual unlock the crypted btrfs-array docker and vm have a failure because imagefiles and dockers are in the crypted zfs. Is it possible to "automount" the zfs if the array starts?
2. my zfs get keylocation is following:
data keylocation none default
data@2020-06-09-090000 keylocation - -
data/docker keylocation file:///mnt/disk1/.key local
data/docker@just_docker keylocation - -
data/docker@2020-06-09-090000 keylocation - -
data/media keylocation file:///mnt/disk1/.key local
data/media@2020-06-09-090000 keylocation - -
data/vm keylocation file:///mnt/disk1/.key local
data/vm@just_vm keylocation - -
data/vm@2020-06-09-090000 keylocation - -
should i set keys also on the snapshots? and on the whole pool? I dont want to "crypt in a crypt"
thanks a lot