IceBoosteR
Guru
- Joined
- Sep 27, 2016
- Messages
- 503
Hi folks,
another time that encryption with FreeNAS drives me crazy. Try to keep long story short.
Had mirrored boot pool. I came back after some weeks and both USB thumb drives died. I could not boot the machine anymore. Could save a backup from the database though. Installed fresh 11.2-U5 and uploaded my conig from 11.1-U7 - no issue.
But I am unable to open my encrypted pools. Of course I do have the geli.key, the recovery.key and the passphrase - but no luck via GUI nor CLI.
Messages like:
I have actually NO guess how to move on. I assume my data is still there. Maybe I can recover the data from the broken thumb drives? Need to figure out on which system though. Anyhow any idea how to manually import would be AWESOME!
Thank you
another time that encryption with FreeNAS drives me crazy. Try to keep long story short.
Had mirrored boot pool. I came back after some weeks and both USB thumb drives died. I could not boot the machine anymore. Could save a backup from the database though. Installed fresh 11.2-U5 and uploaded my conig from 11.1-U7 - no issue.
But I am unable to open my encrypted pools. Of course I do have the geli.key, the recovery.key and the passphrase - but no luck via GUI nor CLI.
Messages like:
- geli: Wrong key for da6p2
- Importing RED [1922545619372436668] failed with: cannot import '1922545619372436668': no such pool available
- geli: Cannot read metadata from /dev/da6p1: Invalid argument
- ...
Code:
Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 332, in run await self.future File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 365, 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 1006, in run_in_thread return await self.loop.run_in_executor(executor, functools.partial(method, *args, **kwargs)) File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.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/50245289-8164-11e8-a571-1866da308b0d, gptid/4f4d1954-8164-11e8-a571-1866da308b0d, gptid/4e769436-8164-11e8-a571-1866da308b0d, gptid/4db11db0-8164-11e8-a571-1866da308b0d, gptid/4cf26b2f-8164-11e8-a571-1866da308b0d, gptid/4c2219f0-8164-11e8-a571-1866da308b0d, gptid/4b56f034-8164-11e8-a571-1866da308b0d, gptid/4a5608c3-8164-11e8-a571-1866da308b0d, gptid/48be4b72-8164-11e8-a571-1866da308b0d, gptid/498e87dd-8164-11e8-a571-1866da308b0d
I have actually NO guess how to move on. I assume my data is still there. Maybe I can recover the data from the broken thumb drives? Need to figure out on which system though. Anyhow any idea how to manually import would be AWESOME!
Thank you
Last edited: