Unable to import Zpool Error: 2095

wazzaguy

Cadet
Joined
Jan 25, 2024
Messages
2
When I attempt to import the pool via the GUI I get an error 2095

Via shell I can see that the pool is ONLINE;
root@racknas[~]# zpool import
pool: supanas_ten
id: 2044293545601889241
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

supanas_ten ONLINE
d720292a-b834-40d5-8c4b-5e42282996e8 ONLINE
082cb99c-d535-4ec1-99f3-ac02364d52d6 ONLINE

If I attempt to import the zpool with -f I get the following;
root@racknas[~]# zpool import -f supanas_ten
cannot import 'supanas_ten': insufficient replicas
Destroy and re-create the pool from
a backup source.

zpool import -fF -o readonly=on supanas_ten also says the same thing about insufficient replicas.

Would anyone have any ideas on how I can either recover the pool or mount it read only so I can retrieve the data and start again?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
From your ZFS import command's output, you have a non-redundant pool. If that pool lost enough blocks in the wrong places, you loose your pool. This problem is multiplied when you have 2 or more disks in a non-redundant pool.

So while you have what appears to be "ONLINE" pool & disks, it may be blocks bad on each disk that is the problem.

Please supply the output of smartctl -x for each disk.
 

wazzaguy

Cadet
Joined
Jan 25, 2024
Messages
2
These are the two smartctl for the 10tb drives
 

Attachments

  • sda-smartctl.txt
    20.4 KB · Views: 182
  • sdb-smartctl.txt
    21.2 KB · Views: 151

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Your disks are running on the hotter side. But, I can't see anything else wrong, (though I am no expert in SMART output analysis). Perhaps someone else will.

Please list the entire hardware, including how the disks are connected.

You might try this, though it will drop more recent writes in an attempt to import the pool.
zpool import -fF supanas_ten
 

TechHarbor

Cadet
Joined
Nov 20, 2023
Messages
2
Same Error
TrueNAS-SCALE-23.10.2
Disk: Exos 18TBx1

Error says:

Error: concurrent.futures.process._RemoteTraceback: """ 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 181, 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 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 File "libzfs.pyx", line 658, in libzfs.ZFS.get_error File "/usr/lib/python3.11/enum.py", line 717, in __call__ return cls.__new__(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/enum.py", line 1133, in __new__ raise ve_exc ValueError: 2095 is not a valid 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/processor.py", line 177, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, 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 1399, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1350, in _call return await self._call_worker(name, *prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1356, in _call_worker return await self.run_in_proc(main_worker, name, args, job) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1267, 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 1251, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: 2095 is not a valid Error

1709476971383.png
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
@TechHarbor - You should start a new thread as the error may be similar, but the cause of the error may be totally different.
Also, without further information, their are too many things that could be wrong, to guess what could be wrong. Give a read to the Forum Rules, link at the top of forum pages in how to compose a more complete error description.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Error 2095 is EZFS_CKSUM. Maybe an incomplete implementation of all available libzfs errnos. In this case it basically means that the pool can't be imported because there is corruption and insufficient replicas to recover.
 

TechHarbor

Cadet
Joined
Nov 20, 2023
Messages
2
I changed my Power Supply Unit and did manual shell command to import pool and scrub it and it worked for me.
 
Top