I restarted the system yesterday and it wouldn't boot to the USB drive. Ran a diagnostics on it and there were a few bad sectors. No problem I thought as I had a backup config file and was back up and running on the latest version. Previously on 11.2, restored to 11.3.
I had 3 pools, two restored okay. The important pool was encrypted and did not restore, it is showing as locked and is visible but not accessible. When I try and unlock it in the GUI it gives the error below.
This led me to another thread here which talks about a bug within Freenas that a pool did not unlock properly.
What I am looking to do:
Unlock the encrypted pool. Pool is mirrored dual 8TB drive setup.
What I have tried:
Unlocking through GUI - Passphrase guessing not successful
Cloning the failed USB drive using PartedMagic without success. It is visible in the tools and I can see the partitions but when I attempt to do the cloning it will end early or give an error.
Problem:
I can not locate a .key file on my local from the time of setup. I was able to go into the GUI and download the pool encryption key but I don't know if that helps me. I don't remember setting up a passcode. I understand now the serious problem as I don't have a key or passphrase. My assumption was that it was exported in the config file, huge error on my part.
Should I try and restore to freenas 11.2, would that make any difference? Any other ideas on recovering the USB, key, or other methods? Appreciate any help from the community.
I had 3 pools, two restored okay. The important pool was encrypted and did not restore, it is showing as locked and is visible but not accessible. When I try and unlock it in the GUI it gives the error below.
This led me to another thread here which talks about a bug within Freenas that a pool did not unlock properly.
What I am looking to do:
Unlock the encrypted pool. Pool is mirrored dual 8TB drive setup.
What I have tried:
Unlocking through GUI - Passphrase guessing not successful
Cloning the failed USB drive using PartedMagic without success. It is visible in the tools and I can see the partitions but when I attempt to do the cloning it will end early or give an error.
Problem:
I can not locate a .key file on my local from the time of setup. I was able to go into the GUI and download the pool encryption key but I don't know if that helps me. I don't remember setting up a passcode. I understand now the serious problem as I don't have a key or passphrase. My assumption was that it was exported in the config file, huge error on my part.
Should I try and restore to freenas 11.2, would that make any difference? Any other ideas on recovering the USB, key, or other methods? Appreciate any help from the community.
Code:
Error: concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 239, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 97, in main_worker res = loop.run_until_complete(coro) File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete return future.result() File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 53, in _run return await self._call(name, serviceobj, methodobj, params=args, job=job) File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 45, in _call return methodobj(*params) File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 45, in _call return methodobj(*params) File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf return f(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zfs.py", line 390, in import_pool 'Failed to mount datasets after importing "%s" pool: %s', name_or_guid, str(e), exc_info=True File "libzfs.pyx", line 369, in libzfs.ZFS.__exit__ File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zfs.py", line 380, in import_pool raise CallError(f'Pool {name_or_guid} not found.', errno.ENOENT) middlewared.service_exception.CallError: [ENOENT] Pool 16213477825591501306 not found. """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 1661, in unlock 'cachefile': ZPOOL_CACHE_FILE, File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1131, in call app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True, File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1078, in _call return await self._call_worker(name, *args) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1098, in _call_worker return await self.run_in_proc(main_worker, name, args, job) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1033, in run_in_proc return await self.run_in_executor(self.__procpool, method, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1007, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) middlewared.service_exception.CallError: [ENOENT] Pool 16213477825591501306 not found. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run await self.future File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 386, in __run_body rv = await self.method(*([self] + args)) File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 1673, in unlock raise CallError(msg) middlewared.service_exception.CallError: [EFAULT] Pool could not be imported: 2 devices failed to decrypt.