Amazing people please help

I am a newbie of sorts, I have been running my server flawlessly for 3 yrs. I was having a drive that was degrading and part of my disk became unassigned. Being dumb I followed another post that help to get the pool back.
so when I try and import, this happens
[EZFS_IO] Failed to import ‘Server’ pool: cannot import ‘Server’ as ‘Server’: I/O error

is there I can do…

Thanks for any help

Thank to Protopia for the following.
‘I have a standard set of commands I ask people to run to provide a detailed breakdown of the hardware, so please run these and post the output here (with the output of each command inside a separate </> preformatted text box) so that we can all see the details:’

lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID
sudo zpool status -v
sudo zpool import
lspci
sudo storcli show all
sudo sas2flash -list
sudo sas3flash -list

Sorry here the complete error…

Error: concurrent.futures.process._RemoteTraceback:
“”"
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py”, line 438, in import_pool
zfs.import_pool(found, pool_name, properties, missing_log=missing_log, any_host=any_host)
File “libzfs.pyx”, line 1265, in libzfs.ZFS.import_pool
File “libzfs.pyx”, line 1293, in libzfs.ZFS.__import_pool
libzfs.ZFSException: cannot import ‘Server’ as ‘Server’: I/O error

During handling of the above exception, another exception occurred:

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 115, 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 40, in _call
return methodobj(*params)
File “/usr/lib/python3/dist-packages/middlewared/worker.py”, line 40, in _call
return methodobj(*params)
File “/usr/lib/python3/dist-packages/middlewared/schema.py”, line 1383, in nf
return func(*args, **kwargs)
File “/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py”, line 444, in import_pool
self.logger.error(
File “libzfs.pyx”, line 465, in libzfs.ZFS.exit
File “/usr/lib/python3/dist-packages/middlewared/plugins/zfs.py”, line 442, 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 ‘Server’ pool: cannot import ‘Server’ as ‘Server’: 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 427, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 465, in __run_body
rv = await self.method(*([self] + args))
File “/usr/lib/python3/dist-packages/middlewared/schema.py”, line 1379, in nf
return await func(*args, **kwargs)
File “/usr/lib/python3/dist-packages/middlewared/schema.py”, line 1247, in nf
res = await f(*args, **kwargs)
File “/usr/lib/python3/dist-packages/middlewared/plugins/pool.py”, line 1459, 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 1368, in call
return await self._call(
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1325, in _call
return await self._call_worker(name, *prepared_call.args)
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1331, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1246, 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 1231, 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 ‘Server’ pool: cannot import ‘Server’ as ‘Server’: I/O error

I’m really glad that you didn’t follow the suggestion in this post.

I have a better idea. Use the following commands to provide more information that others might be able to use to help you.

lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID
sudo zpool status -v
sudo zpool import
lspci
sudo storcli show all
sudo sas2flash -list
sudo sas3flash -list

Don’t forget to paste them inside preformatted text! Use the </> button on the toolbar!

@SmallBarky: Shame on you for not suggesting this when you had the chance. :-1:


@R_Lee_Jacobson: It’s also very important that you do not tell use which edition or version of TrueNAS you’re using. SCALE and Core are basically the same thing. Every version, from 11.1 to 13.3, from Angelfish to Electric Eel, are exactly the same.

1 Like