elpatron80
Cadet
- Joined
- Dec 10, 2020
- Messages
- 3
Hi there,
I'm asking you guys for a little help. My situation is:
TrueNAS 12.0 installed on 1x SSD 128GB
Pool1 was a MIRROR on 2x HDD WD 1TB
Pool1 ENCRYPTED
Few days ago I've changed Pool1 disks from 2xWD (mentioned above) to 2x Seagate Ironwolf 4TB.
Pool has been resilvered without any issues (via GUI).
Today I updated TrueNAS 12 to 12u1 (config file saved with passwd seed before upgrade).
And my SSD (with boot-pool) crashed... some CRC errors and cannot load GUI.
So I wiped that SSD with another PC and set it back to TrueNAS and performed clean installation of TrueNAS 12, then restored config file.
From that moment I cannot get in to Pool1 (encrypted) volume. The status is LOCKED and I cannot unlock it with password, nor with GELI recovery key...
I tried this: https://www.truenas.com/community/threads/pool-unlock-fails-with-geli-key.82670/post-572371
And in terminal everything seems to be good but it is not.
I performed:
OK - no errors
OK - no errors
zpool import
pool: Pool1
id: 8155427189674573108
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
Pool1 ONLINE
mirror-0 ONLINE
gptid/23a8f85f-34d3-11eb-a5d2-7071bcc181ef.eli ONLINE
gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef.eli ONLINE
zpool status
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
errors: No known data errors
BUT: In GUI I can see Pool1 status: OFFLINE (it seems to be mounted with all options available, but it's offline and I cannot access data).
Another thing:
gptid/23a8f85f-34d3-11eb-a5d2-7071bcc181ef
gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
But in /dev/gptid/ I see:
23a8f85f-34d3-11eb-a5d2-7071bcc181ef
872a103f-3b02-11eb-b671-7071bcc181ef
8725f046-3b02-11eb-b671-7071bcc181ef
b2e57fc4-34e5-11eb-9574-7071bcc181ef
And when I tried the same with 2 other disks I got an error message:
geli attach -k /root/2020-10-07_pool_Pool1_encryption.key /dev/gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
Enter passphrase:
geli: Wrong key for gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef.
geli: There was an error with at least one provider.
I don't have any other geli keys... I have only encryption key and recovery key exported when the previous disks (2xWD) were in game. And GUI didn't give any info to make a backup of new (?) encryption keys...
Any suggestions what should I do? Will be very grateful.
I'm asking you guys for a little help. My situation is:
TrueNAS 12.0 installed on 1x SSD 128GB
Pool1 was a MIRROR on 2x HDD WD 1TB
Pool1 ENCRYPTED
Few days ago I've changed Pool1 disks from 2xWD (mentioned above) to 2x Seagate Ironwolf 4TB.
Pool has been resilvered without any issues (via GUI).
Today I updated TrueNAS 12 to 12u1 (config file saved with passwd seed before upgrade).
And my SSD (with boot-pool) crashed... some CRC errors and cannot load GUI.
So I wiped that SSD with another PC and set it back to TrueNAS and performed clean installation of TrueNAS 12, then restored config file.
From that moment I cannot get in to Pool1 (encrypted) volume. The status is LOCKED and I cannot unlock it with password, nor with GELI recovery key...
I tried this: https://www.truenas.com/community/threads/pool-unlock-fails-with-geli-key.82670/post-572371
And in terminal everything seems to be good but it is not.
I performed:
geli attach -k /root/2020-10-07_pool_Pool1_encryption.key /dev/gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
Enter passphrase:
OK - no errors
geli attach -k /root/2020-10-07_pool_Pool1_encryption.key /dev/gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
Enter passphrase:
OK - no errors
zpool import
pool: Pool1
id: 8155427189674573108
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
Pool1 ONLINE
mirror-0 ONLINE
gptid/23a8f85f-34d3-11eb-a5d2-7071bcc181ef.eli ONLINE
gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef.eli ONLINE
zpool status
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
errors: No known data errors
BUT: In GUI I can see Pool1 status: OFFLINE (it seems to be mounted with all options available, but it's offline and I cannot access data).
Another thing:
sqlite3 /data/freenas-v1.db 'select sed.encrypted_provider from storage_encrypteddisk as sed join storage_volume sv on sv.id = sed.encrypted_volume_id where sv.vol_name = "Pool1";'
gptid/23a8f85f-34d3-11eb-a5d2-7071bcc181ef
gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
But in /dev/gptid/ I see:
23a8f85f-34d3-11eb-a5d2-7071bcc181ef
872a103f-3b02-11eb-b671-7071bcc181ef
8725f046-3b02-11eb-b671-7071bcc181ef
b2e57fc4-34e5-11eb-9574-7071bcc181ef
And when I tried the same with 2 other disks I got an error message:
geli attach -k /root/2020-10-07_pool_Pool1_encryption.key /dev/gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef
Enter passphrase:
geli: Wrong key for gptid/b2e57fc4-34e5-11eb-9574-7071bcc181ef.
geli: There was an error with at least one provider.
I don't have any other geli keys... I have only encryption key and recovery key exported when the previous disks (2xWD) were in game. And GUI didn't give any info to make a backup of new (?) encryption keys...
Any suggestions what should I do? Will be very grateful.