Today, I did something like this - volume passphrased, added recovery key and downloaded key as FreeNAS user manual says. So, I have geli.key and deli_recovery.key. Here is the the problem:
when FreeNAS machine rebooted, volume status says LOCKED, can't access it.
"View disks" shows all the disks correctly: da0,da1....da5. Searched online, suggested geli attach unlock each hdd using key, but in my case it shows error:
I did:
What are the steps to follow? Like this:
1. geli attach each to unlock
May be the key in my /data/geli/ is not correct. How do I upload the correct key(I have downloaded today when passphrased into my desktop) to FreeNAS so I can use it to unlock drives with command line. Is that correct command line?
2. Import volume
Could you please help? Appreciated.
My system:
Build FreeNAS-11.0-U4 (54848d13b)
Platform Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Memory 32618MB
Thanks
when FreeNAS machine rebooted, volume status says LOCKED, can't access it.
"View disks" shows all the disks correctly: da0,da1....da5. Searched online, suggested geli attach unlock each hdd using key, but in my case it shows error:
I did:
Code:
root@freenas:/ # geli attach -k /data/geli/dfa79a0b-c67e-451d-a150-d7329231c2a1.key /dev/da0p2 geli: Cannot read metadata from /dev/da0p2: Invalid argument. root@freenas:/ #
What are the steps to follow? Like this:
1. geli attach each to unlock
May be the key in my /data/geli/ is not correct. How do I upload the correct key(I have downloaded today when passphrased into my desktop) to FreeNAS so I can use it to unlock drives with command line. Is that correct command line?
2. Import volume
Could you please help? Appreciated.
My system:
Build FreeNAS-11.0-U4 (54848d13b)
Platform Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Memory 32618MB
Thanks
Last edited by a moderator: