Recovering Encrypted Pool

Joined
Dec 3, 2019
Messages
4
Today I lost my mirrored USB flash boot drives in my FreeNAS system after 9 months of trouble-free operation. (Lesson learned.) I've replaced those USB flash drives with a SATA SSD and reinstalled FreeNAS to the SSD. After installation I restored from my configuration backup.

All appeared well until I attempted to unlock the encrypted disk pool. I received the error in the attached screenshot. At that point I tried to unlock with my geli.key recovery key file. Same error.

This is a home installation for personal use running on a Dell Optiplex 7010 with an Intel Core i7-3770 processor and 16GB of non-ECC memory. I'm using a Dell H310 SAS HBA cross-flashed to Avago / LSI 9211-8i IT (Initiator Target) firmware version P20 (specifically 20.00.07.00). Attached to the Dell H310 are four Seagate Barracuda 1.8TB SAS drives.

Any thoughts the board may have about this issue would be greatly appreciated.
 

Attachments

  • Screen Shot 2019-12-03 at 7.38.43 PM.png
    Screen Shot 2019-12-03 at 7.38.43 PM.png
    1,022.9 KB · Views: 234
Joined
Dec 3, 2019
Messages
4
Update 1: I exported the pool (but did not erase the data or configured shares) and tried reimporting with my geli.key file. Then I received the following error:

Code:
Error decrypting disks
[EFAULT] The following devices failed to attach: gptid/cc78fae1-31e4-11e9-9c69-90b11c6ce42f, gptid/cb15b86d-31e4-11e9-9c69-90b11c6ce42f, gptid/c983ee37-31e4-11e9-9c69-90b11c6ce42f, 


From the "More info..." link I also got:


Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 333, in run
    await self.future
  File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 366, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1009, in run_in_thread
    raise result
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1015, in _run_in_thread_wrap
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/disk.py", line 253, in decrypt
    raise CallError(f'The following devices failed to attach: {", ".join(failed)}')
middlewared.service_exception.CallError: [EFAULT] The following devices failed to attach: gptid/cc78fae1-31e4-11e9-9c69-90b11c6ce42f, gptid/cb15b86d-31e4-11e9-9c69-90b11c6ce42f, gptid/c983ee37-31e4-11e9-9c69-90b11c6ce42f, gptid/c809e6d1-31e4-11e9-9c69-90b11c6ce42f
 
Joined
Dec 3, 2019
Messages
4
I'm not sure what changed since last night, but today entering my geli.key and encryption passphrase worked. I was able to import the pool. I don't understand what's different but something must be.
 
Top