_noble_six_
Dabbler
- Joined
- Dec 11, 2021
- Messages
- 16
Hello folks.
I've build a home NAS server for FreeNAS some time ago
It was all working alright until I was not playing with is for some months being busy.
There was power outages, NAS went down and now I am trying to bring it back.
It didn't boot on it's own and I forgot how was the boot drive configured.
I tried to boot from a device, supposed to be slog and it aid this is data disk, no OS here.
I was not sure (didn't remember) about the situation with M2-to-USB disk and was wondering if it ever booted successfully, or I am missing some other USB stick.
So I decided maybe I just reinstall FreeNAS on the available 5-th disk (which wa proably an slog device. but I dont remember) and then use my keys to import the pool.
After fresh installation of FreeNAS on the available 5-th disk the OS booted, but I couldn't mount the pool. Some brief googling showed that I may be missing some geli keys, so fresh install was not an option, as I understood.
I decided to find the disk which was supposeed to be the boot one.
Tried to connect the supposed boot disk directly to M2 and it worked.
I have booted my FreeNAS installation as it used to be. I think now I must have all my geli keys in place.
I now see my pool as being locked. Trying to unlock it with a passphrase or a recovery key fails. Below is the log output.
What other details can I provide to sort this issue?
I've build a home NAS server for FreeNAS some time ago
- it has 4 data disks
- 1 slog device (if I name it correctly)
- an my boot OS drive is M2 in M2-to-USB case mounter inside internal USB.
- FreeNAS-11.3-U1
It was all working alright until I was not playing with is for some months being busy.
There was power outages, NAS went down and now I am trying to bring it back.
It didn't boot on it's own and I forgot how was the boot drive configured.
I tried to boot from a device, supposed to be slog and it aid this is data disk, no OS here.
I was not sure (didn't remember) about the situation with M2-to-USB disk and was wondering if it ever booted successfully, or I am missing some other USB stick.
So I decided maybe I just reinstall FreeNAS on the available 5-th disk (which wa proably an slog device. but I dont remember) and then use my keys to import the pool.
After fresh installation of FreeNAS on the available 5-th disk the OS booted, but I couldn't mount the pool. Some brief googling showed that I may be missing some geli keys, so fresh install was not an option, as I understood.
I decided to find the disk which was supposeed to be the boot one.
Tried to connect the supposed boot disk directly to M2 and it worked.
I have booted my FreeNAS installation as it used to be. I think now I must have all my geli keys in place.
I now see my pool as being locked. Trying to unlock it with a passphrase or a recovery key fails. Below is the log output.
What other details can I provide to sort this issue?
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 95, 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 51, 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 43, in _call return methodobj(*params) File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 43, 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 382, in import_pool zfs.import_pool(found, found.name, options, any_host=any_host) File "libzfs.pyx", line 369, in libzfs.ZFS.__exit__ File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zfs.py", line 382, in import_pool zfs.import_pool(found, found.name, options, any_host=any_host) File "libzfs.pyx", line 870, in libzfs.ZFS.import_pool libzfs.ZFSException: one or more devices is currently unavailable """ 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 1660, in unlock 'cachefile': ZPOOL_CACHE_FILE, File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1127, 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 1074, in _call return await self._call_worker(name, *args) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1094, 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 1029, 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 1003, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) libzfs.ZFSException: ('one or more devices is currently unavailable',) 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 1672, in unlock raise CallError(msg) middlewared.service_exception.CallError: [EFAULT] Pool could not be imported: 1 devices failed to decrypt.