i have a raidz2 zpool across 6 disks. i am using ubuntu server 16.04 LTS and i want to encrypt those disks with luks and have the system decrypt them on startup, so that zfs can use them.
how exactly do i configure luks so that upon startup it automatically decrypts those drives using a keyfile (generated with dd if=/dev/urandom
...) stored on the root of the boot drive.
i'd also like for each drive to have a different key file. preferribly sha-512 or, heck, even something higher would be nice.