Geli key

frouty

Dabbler
Joined
May 24, 2017
Messages
26
Hi,
I had a nice freenas system geli encrypted
---
Build :FreeNAS-11.1-U5
---
During a thunderstorm I wanted to shutdown the freenas. I wasn't sure of my geli key
I had my geli key and geli recovery in a dropbox.
I made a new recovery key but I stored it in the freenas encrypted and I lock the volume.

So I read that you can detach and re-import.
I detach (but with some error message timeout)
In the storage tab / volume / now I have "no entry has been found"

Import volume / step 1 of 2 encrypted ZFS volume: Yes decrypt disks / OK
Step 2 of 3 : Disk: I choose a disk
Encryption Key : I select the geli-2019.key
Passphrase : mypassphrase

And I get /[MiddlewareError: Unable to geli attach gptid/b4d452cd-fc7f-11e4-841d-0cc47a0d7e71: geli: Wrong key for gptid/b4d452cd-fc7f-11e4-841d-0cc47a0d7e71.

During my search I tried this :
zpool status --> which tell me that I have 1 data errors so I did
------------------------------------
zpool status -xv
pool: freenas-boot
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0 days 00:05:49 with 1 errors on Sun Mar 8 03:50:49 2020
config:

NAME STATE READ WRITE CKSUM
freenas-boot DEGRADED 0 0 8
gptid/a0055ee5-fc64-11e4-b2a4-0cc47a0d7e71 DEGRADED 0 0 72 too many errors

errors: Permanent errors have been detected in the following files:

freenas-boot/ROOT/11.1-U5@2016-09-20-01:17:20:/usr/local/lib/gcc47/libstdc++.a
------------------------------------------------------------

I think I have /libstdc++.a problem before the geli mess...

How can I be sure that it's absolutely over?
What do I've to do
?
Thanks
 
Last edited:

frouty

Dabbler
Joined
May 24, 2017
Messages
26
I detach the volume then import the volume and use my geli.key.
 
Top