I started having issues on boot. Boot process hangs 15 minutes on importing of ZFS devices.
I exported disks one by one to see if I could find one that was hanging the process.
Apparently I found the disk that hangs the import process.
When I try to import the disk back, I get the following error.
On the command line (zpool list) the disk is present. And I can navigate to the disk's directories.
But on the GUI, the disk does not show up.
I have already tried exporting again from command line, rebooting and importing via GUI. But same happens.
Thanks for helping
I exported disks one by one to see if I could find one that was hanging the process.
Apparently I found the disk that hangs the import process.
When I try to import the disk back, I get the following error.
Code:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 97, in main_worker
res = MIDDLEWARE._run(*call_args)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 45, in _run
return self._call(name, serviceobj, methodobj, args, job=job)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 39, in _call
return methodobj(*params)
File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 39, in _call
return methodobj(*params)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1273, in nf
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 367, in import_pool
self.logger.error(
File "libzfs.pyx", line 404, in libzfs.ZFS.__exit__
File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py", line 357, in import_pool
raise CallError(f'Pool {name_or_guid} not found.', errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Pool 11800105781617139803 not found.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 409, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 445, in __run_body
rv = await self.method(*([self] + args))
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1137, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 1504, in import_pool
await self.middleware.call('zfs.pool.import_pool', pool['guid'], {
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1289, in _call
return await self._call_worker(name, *prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1295, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1218, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1192, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
middlewared.service_exception.CallError: [ENOENT] Pool 11800105781617139803 not found.
On the command line (zpool list) the disk is present. And I can navigate to the disk's directories.
But on the GUI, the disk does not show up.
I have already tried exporting again from command line, rebooting and importing via GUI. But same happens.
Thanks for helping