Solved gpt geli in loader.conf loading keys but not using them

Hi,

I'm having some issue with GPT labels, GELI and loader.conf.

I have this snippet in loader.conf:

Code:
geom_eli_load="yes"
geli_disk0.Z1W5X20X_keyfile0_load="yes"
geli_disk0.Z1W5X20X_keyfile0_type="gpt/disk0.Z1W5X20X:geli_keyfile0"
geli_disk0.Z1W5X20X_keyfile0_type="disk0.Z1W5X20X:geli_keyfile0"
geli_disk0.Z1W5X20X_keyfile0_type="dev/gpt/disk0.Z1W5X20X:geli_keyfile0"
geli_disk0.Z1W5X20X_keyfile0_name="/boot/geli/disk0.Z1W5X20X.key"
geli_disk1.Z1W5WXM7_keyfile0_load="yes"
geli_disk1.Z1W5WXM7_keyfile0_type="gpt/disk1.Z1W5WXM7:geli_keyfile0"
geli_disk1.Z1W5WXM7_keyfile0_name="/boot/geli/disk1.Z1W5WXM7.key"
geli_disk2.Z1W5X0BH_keyfile0_load="yes"
geli_disk2.Z1W5X0BH_keyfile0_type="gpt/disk2.Z1W5X0BH:geli_keyfile0"
geli_disk2.Z1W5X0BH_keyfile0_name="/boot/geli/disk2.Z1W5X0BH.key"
geli_disk3.Z1W5X2WX_keyfile0_load="yes"
geli_disk3.Z1W5X2WX_keyfile0_type="gpt/disk3.Z1W5X2WX:geli_keyfile0"
geli_disk3.Z1W5X2WX_keyfile0_name="/boot/geli/disk3.Z1W5X2WX.key"

Bascally, I have four drives named by their slot int he server and by their serial number. I see when the system boots that the system loads the proper keys but never gets to open the devices.

I did try to name them with the serial number alone; same difference. Also, I did try to change the _keyfile0 for _keyfile[1-3] for the other drives, made more sense to me but didn't work either.

Can anyone see what I am doing wrong please?

Thanks,

tcn.
 
Hi,

Okay, didn't know we must also create encrypted drives with the -b switch even though we do not use passphrase.


tcn
 
Back
Top