this post was submitted on 26 Aug 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/Sandr0ck on 2024-08-25 17:06:33.

So I have a ZFS2 pool with n-2 of 8 disks. I logged in to see a bad disk. Pulled what I believe to be said bad disk. And started the resilver without looking. Then noticed it was the wrong disk. So I pulled that one and put the other one back. Everything was fine. Then to put the disk in the case proper I shut down to pull a stat cable. When I booted back up it did not resume the resilver but said the pool has zero disks. But I do see the 8 disks as available. And in pool as exported but it was not an option to import. So I detached the bad version of the pool. I now had an import option but it failed. I/O error. Put the bad disk back and the new one unplugged. Rebooted same issue. Try to go back to a backup of the OS. Same issue went back to my current build. Added the 9th disk via usb as I don't have anymore sata ports and all 9 show they belong to this pool. Tried to import. Still failed. Not sure where to go from here. At the end of the day any way to get the data off them to something I will take it would be nice if I could get the pool back as it was but If I need to put the disks on another machine and copy to another device I will.

Error I am getting during import. Error: concurrent.futures.process.RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs/poolactions.py", line 227, in import_pool zfs.import_pool(found, pool_name, properties, missing_log=missing_log, any_host=any_host) File "libzfs.pyx", line 1369, in libzfs.ZFS.import_pool File "libzfs.pyx", line 1397, in libzfs.ZFS._import_pool libzfs.ZFSException: cannot import 'Spinners' as 'Spinners': I/O error

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/concurrent/futures/process.py", line 256, in *process_worker r = call_item.fn(*call_item.args, **call_item.kwargs)

File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 112, in main_worker res = MIDDLEWARE._run(*call_args)

File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 46, in _run return self._call(name, serviceobj, methodobj, args, job=job)

File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 34, in _call with Client(f'ws+unix://{MIDDLEWARE_RUN_DIR}/middlewared-internal.sock', py_exceptions=True) as c: File "/usr/lib/python3/dist-packages/middlewared/worker.py", line 40, in _call return methodobj(*params)

File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 191, in nf return func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs*/pool*actions.py", line 207, in import_pool with libzfs.ZFS() as zfs: File "libzfs.pyx", line 529, in libzfs.ZFS.*exit_ File "/usr/lib/python3/dist-packages/middlewared/plugins/zfs_/pool_actions.py", line 231, in import_pool raise CallError(f'Failed to import {pool_name!r} pool: {e}', e.code) middlewared.service_exception.CallError: [EZFS_IO] Failed to import 'Spinners' pool: cannot import 'Spinners' as 'Spinners': I/O error """

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 469, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 511, in **run*body rv = await self.method(*args)

File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf return await func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 47, in nf res = await f(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/plugins/pool*/import_pool.py", line 113, in import_pool await self.middleware.call('zfs.pool.import_pool', guid, opts, any_host, use_cachefile, new_name) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1564, in call return await self._call(

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1425, in _call return await self._call_worker(name, *prepared_call.args)

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1431, in _call_worker return await self.run_in_proc(main_worker, name, args, job)

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1337, 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 1321, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))

middlewared.service_exception.CallError: [EZFS_IO] Failed to import 'Spinners' pool: cannot import 'Spinners' as 'Spinners': I/O error

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here