Mastakilla
Patron
- Joined
- Jul 18, 2019
- Messages
- 203
Hi,
I was trying to put my Intel Optane in use again, but ran into some trouble...
I made 3 partitions on the optane
* 20GB for SLOG
* 16GB for SWAP
* The remainder as non-redundant test pool
I added the SLOG to my encrypted pool with
Which worked well
Then I added the remainder as a pool with
Then exporting the optanepool
And finally importing it again in the GUI.
This also worked, but when I tried enabling compression, I got an error.
So I tried some things, retried some things, rebooted a couple times...
Next I wanted to retry creating and importing the optanepool, but when I exported it via the GUI, I couldn't destroy this specific zpool anymore because it was exported. So I tried selecting the "destroy" checkbox in the GUI when doing the export of optanepool, but that not only destroyed the optanepool partition, but also the SLOG partition.
Now when I try to unlock my encrypted pool, it fails with below error:
I see in the console that it does unlock all HDDs one by one, but then in the end (I guess when it should unlock the SLOG), it fails and rolls back all unlocking steps.
I can't add my newly created SLOG, because the pool is still locked, but I don't know how to unlock it either...
Anyone have suggestion on how to proceed?
I was trying to put my Intel Optane in use again, but ran into some trouble...
I made 3 partitions on the optane
* 20GB for SLOG
* 16GB for SWAP
* The remainder as non-redundant test pool
I added the SLOG to my encrypted pool with
Which worked well
Then I added the remainder as a pool with
Then exporting the optanepool
And finally importing it again in the GUI.
This also worked, but when I tried enabling compression, I got an error.
So I tried some things, retried some things, rebooted a couple times...
Next I wanted to retry creating and importing the optanepool, but when I exported it via the GUI, I couldn't destroy this specific zpool anymore because it was exported. So I tried selecting the "destroy" checkbox in the GUI when doing the export of optanepool, but that not only destroyed the optanepool partition, but also the SLOG partition.
Now when I try to unlock my encrypted pool, it fails with below error:
Code:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/worker.py", line 91, in main_worker
res = MIDDLEWARE._run(*call_args)
File "/usr/local/lib/python3.8/site-packages/middlewared/worker.py", line 45, in _run
return self._call(name, serviceobj, methodobj, args, job=job)
File "/usr/local/lib/python3.8/site-packages/middlewared/worker.py", line 39, in _call
return methodobj(*params)
File "/usr/local/lib/python3.8/site-packages/middlewared/worker.py", line 39, in _call
return methodobj(*params)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/zfs.py", line 371, in import_pool
self.logger.error(
File "libzfs.pyx", line 391, in libzfs.ZFS.__exit__
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/zfs.py", line 365, in import_pool
zfs.import_pool(found, new_name or found.name, options, any_host=any_host)
File "libzfs.pyx", line 1095, in libzfs.ZFS.import_pool
File "libzfs.pyx", line 1123, 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.8/site-packages/middlewared/job.py", line 361, in run
await self.future
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 397, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/pool_/encryption_freebsd.py", line 290, in unlock
raise e
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/pool_/encryption_freebsd.py", line 272, in unlock
await self.middleware.call('zfs.pool.import_pool', pool['guid'], {
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1238, in call
return await self._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1203, in _call
return await self._call_worker(name, *prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1209, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1136, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1110, 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',)I see in the console that it does unlock all HDDs one by one, but then in the end (I guess when it should unlock the SLOG), it fails and rolls back all unlocking steps.
I can't add my newly created SLOG, because the pool is still locked, but I don't know how to unlock it either...
Anyone have suggestion on how to proceed?