I'm having trouble setting geli and zfs. My root partition is on pendrive, the rest is using zfs pool over 3 disks. Master key(s) is backed up using password as well.
This is my /boot/loader.conf
When the system is mounting, it asks for password, which when typed is incorrect. Obviously it isn't, it must be that keys are not seen correctly.
Then I tried adding following to /boot/loader.conf
Same thing (not surprising since it's already default..). I couldn't find in manuals if I should tweak something else.
If I use only password without random keys for encryption it works.
Any suggestions please.
This is my /boot/loader.conf
Code:
geom_eli_load="YES"
geli_ad10_keyfile0_load="YES"
geli_ad10_keyfile0_type="ad10:geli_keyfile0"
geli_ad10_keyfile0_name="/boot/keys/ad10.key"
geli_ad12_keyfile0_load="YES"
geli_ad12_keyfile0_type="ad12:geli_keyfile0"
geli_ad12_keyfile0_name="/boot/keys/ad12.key"
geli_ad14_keyfile0_load="YES"
geli_ad14_keyfile0_type="ad14:geli_keyfile0"
geli_ad14_keyfile0_name="/boot/keys/ad14.key"
...
Then I tried adding following to /boot/loader.conf
Code:
currdev="disk1s1a"
rootdev="disk1s1a"
vfs.root.mountfrom="ufs:da0s1a"
Same thing (not surprising since it's already default..). I couldn't find in manuals if I should tweak something else.
If I use only password without random keys for encryption it works.
Any suggestions please.