HELP!!! I can’t Import zpool; single dead hdd in raidz2 vdev
How does someone go about fixing an issue like this?
root@truenas[/home/admin]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
boot-pool 14G 6.33G 7.67G - - 9% 45% 1.00x ONLINE -
root@truenas[/home/admin]# zpool import -a
cannot import ‘Nexsan_2x7_raidz2’: I/O error
Destroy and re-create the pool from
a backup source.
root@truenas[/home/admin]# zpool import
pool: Nexsan_2x7_raidz2
id: 8972354718331620302
state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the ‘-f’ flag.
see: Message ID: ZFS-8000-5E — OpenZFS documentation
config:
Nexsan_2x7_raidz2 FAULTED corrupted data
raidz2-0 DEGRADED
d4f45115-d21b-11ea-bc27-002590db5748 ONLINE
d51021f0-d21b-11ea-bc27-002590db5748 ONLINE
d52f2438-d21b-11ea-bc27-002590db5748 ONLINE
3958782095893599654 UNAVAIL
d6630266-d21b-11ea-bc27-002590db5748 ONLINE
d6a69574-d21b-11ea-bc27-002590db5748 ONLINE
d6b4ee02-d21b-11ea-bc27-002590db5748 ONLINE
raidz2-1 ONLINE
d4fd3610-d21b-11ea-bc27-002590db5748 ONLINE
d5b1bc18-d21b-11ea-bc27-002590db5748 ONLINE
d60ccef4-d21b-11ea-bc27-002590db5748 ONLINE
d68f5c7c-d21b-11ea-bc27-002590db5748 ONLINE
d648a21a-d21b-11ea-bc27-002590db5748 ONLINE
d67abf95-d21b-11ea-bc27-002590db5748 ONLINE
d6ca4a39-d21b-11ea-bc27-002590db5748 ONLINE
root@truenas[/home/admin]# zpool import -a -m -f
cannot import ‘Nexsan_2x7_raidz2’: I/O error
Destroy and re-create the pool from
a backup source.
root@truenas[/home/admin]# h
root@truenas[/home/admin]# zpool import -X -F -f -n -d /dev/disk/by-id Nexsan_2x7_raidz2
root@truenas[/home/admin]# ls /dev/disk/by-partuuid
113bba29-f280-4b1c-b020-6a1ec517082e d4f45115-d21b-11ea-bc27-002590db5748 d62491f6-d21b-11ea-bc27-002590db5748
53b5106a-13c7-43b7-bf25-0d774fb1c7e4 d4fd3610-d21b-11ea-bc27-002590db5748 d63085d9-d21b-11ea-bc27-002590db5748
541a6042-c2d9-4ee6-aec6-3cd0bb6556dc d5040c50-d21b-11ea-bc27-002590db5748 d648a21a-d21b-11ea-bc27-002590db5748
7e70faf9-4981-4da9-93ea-7245b5a5add7 d51021f0-d21b-11ea-bc27-002590db5748 d653ef56-d21b-11ea-bc27-002590db5748
9b390189-fbf1-4acb-af45-d39feb8894ff d52f2438-d21b-11ea-bc27-002590db5748 d6630266-d21b-11ea-bc27-002590db5748
b1eea782-2940-42a3-9e6b-3e634bcdfc31 d5670897-d21b-11ea-bc27-002590db5748 d67abf95-d21b-11ea-bc27-002590db5748
b33c2617-6683-430a-83b8-83caae9f8eb9 d5a7975b-d21b-11ea-bc27-002590db5748 d68f5c7c-d21b-11ea-bc27-002590db5748
cda86b6f-0959-42af-a53d-0df74300d7bb d5b1bc18-d21b-11ea-bc27-002590db5748 d6a69574-d21b-11ea-bc27-002590db5748
d487e76b-d21b-11ea-bc27-002590db5748 d5d4566b-d21b-11ea-bc27-002590db5748 d6b4ee02-d21b-11ea-bc27-002590db5748
d49fc11d-d21b-11ea-bc27-002590db5748 d5dcb8c0-d21b-11ea-bc27-002590db5748 d6ca4a39-d21b-11ea-bc27-002590db5748
d4bd53d3-d21b-11ea-bc27-002590db5748 d60088b2-d21b-11ea-bc27-002590db5748 f02218c4-fb0b-4f14-aacc-19f13b3a3f36
d4e88df8-d21b-11ea-bc27-002590db5748 d60ccef4-d21b-11ea-bc27-002590db5748 f46cfe74-835a-4d15-b70f-06e7781b5f1c
root@truenas[/home/admin]# zpool import -X -F -f -n -d /dev/disk/by-partuuid Nexsan_2x7_raidz2
root@truenas[/home/admin]# zpool import
pool: Nexsan_2x7_raidz2
id: 8972354718331620302
state: FAULTED
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the ‘-f’ flag.
see: Message ID: ZFS-8000-5E — OpenZFS documentation
config:
Nexsan_2x7_raidz2 FAULTED corrupted data
raidz2-0 DEGRADED
d4f45115-d21b-11ea-bc27-002590db5748 ONLINE
d51021f0-d21b-11ea-bc27-002590db5748 ONLINE
d52f2438-d21b-11ea-bc27-002590db5748 ONLINE
3958782095893599654 UNAVAIL
d6630266-d21b-11ea-bc27-002590db5748 ONLINE
d6a69574-d21b-11ea-bc27-002590db5748 ONLINE
d6b4ee02-d21b-11ea-bc27-002590db5748 ONLINE
raidz2-1 ONLINE
d4fd3610-d21b-11ea-bc27-002590db5748 ONLINE
d5b1bc18-d21b-11ea-bc27-002590db5748 ONLINE
d60ccef4-d21b-11ea-bc27-002590db5748 ONLINE
d68f5c7c-d21b-11ea-bc27-002590db5748 ONLINE
d648a21a-d21b-11ea-bc27-002590db5748 ONLINE
d67abf95-d21b-11ea-bc27-002590db5748 ONLINE
d6ca4a39-d21b-11ea-bc27-002590db5748 ONLINE
root@truenas[/home/admin]# zpool import -X -F -f -n -d /dev/disk/by-id Nexsan_2x7_raidz2
root@truenas[/home/admin]#
oot@truenas[/home/admin]# zpool import -FX -f -m -d /dev/disk/by-partuuid Nexsan_2x7_raidz2
cannot import ‘Nexsan_2x7_raidz2’: one or more devices is currently unavailable
root@truenas[/home/admin]# zdb -e Nexsan_2x7_raidz2
Configuration for import:
vdev_children: 2
version: 5000
pool_guid: 8972354718331620302
name: ‘Nexsan_2x7_raidz2’
state: 0
hostid: 1362372599
hostname: ‘truenas’
vdev_tree:
type: ‘root’
id: 0
guid: 8972354718331620302
children[0]:
type: ‘raidz’
id: 0
guid: 3981250722323924461
nparity: 2
metaslab_array: 60
metaslab_shift: 37
ashift: 12
asize: 13987726491648
is_log: 0
create_txg: 4
children[0]:
type: ‘disk’
id: 0
guid: 2558360558814569309
DTL: 289
create_txg: 4
path: ‘/dev/sde2’
children[1]:
type: ‘disk’
id: 1
guid: 10926754174243817966
DTL: 288
create_txg: 4
path: ‘/dev/sdi2’
children[2]:
type: ‘disk’
id: 2
guid: 13733395212906534443
DTL: 287
create_txg: 4
path: ‘/dev/sdf2’
children[3]:
type: ‘disk’
id: 3
guid: 3958782095893599654
path: ‘/dev/gptid/d614a52b-d21b-11ea-bc27-002590db5748’
phys_path: ‘id1,enc@n500304800374a57d/type@0/slot@4/elmdesc@Slot_04/p2’
not_present: 1
DTL: 286
create_txg: 4
children[4]:
type: ‘disk’
id: 4
guid: 17217824180768895110
DTL: 285
create_txg: 4
path: ‘/dev/sdc2’
children[5]:
type: ‘disk’
id: 5
guid: 8051454238781092430
DTL: 284
create_txg: 4
path: ‘/dev/sdh2’
children[6]:
type: ‘disk’
id: 6
guid: 8535382695637425029
DTL: 283
create_txg: 4
path: ‘/dev/sda2’
children[1]:
type: ‘raidz’
id: 1
guid: 6983679603137452165
nparity: 2
metaslab_array: 52
metaslab_shift: 37
ashift: 12
asize: 13987726491648
is_log: 0
create_txg: 4
children[0]:
type: ‘disk’
id: 0
guid: 2335491171700643644
DTL: 282
create_txg: 4
path: ‘/dev/sdl2’
children[1]:
type: ‘disk’
id: 1
guid: 3136592629563023909
DTL: 281
create_txg: 4
path: ‘/dev/sdj2’
children[2]:
type: ‘disk’
id: 2
guid: 11736308515974993500
DTL: 280
create_txg: 4
path: ‘/dev/sdg2’
children[3]:
type: ‘disk’
id: 3
guid: 13479457084483254071
DTL: 279
create_txg: 4
path: ‘/dev/sdo2’
children[4]:
type: ‘disk’
id: 4
guid: 5119149219636539909
DTL: 278
create_txg: 4
path: ‘/dev/sdm2’
children[5]:
type: ‘disk’
id: 5
guid: 14902355098894633373
DTL: 277
create_txg: 4
path: ‘/dev/sdk2’
children[6]:
type: ‘disk’
id: 6
guid: 15750852432423240846
DTL: 276
create_txg: 4
path: ‘/dev/sdn2’
load-policy:
load-request-txg: 18446744073709551615
load-rewind-policy: 2
zdb: can’t open ‘Nexsan_2x7_raidz2’: Input/output error
ZFS_DBGMSG(zdb) START:
spa.c:6623:spa_import(): spa_import: importing Nexsan_2x7_raidz2
spa_misc.c:418:spa_load_note(): spa_load(Nexsan_2x7_raidz2, config trusted): LOADING
vdev.c:161:vdev_dbgmsg(): disk vdev ‘/dev/sde2’: best uberblock found for spa Nexsan_2x7_raidz2. txg 9256120
spa_misc.c:418:spa_load_note(): spa_load(Nexsan_2x7_raidz2, config untrusted): using uberblock with txg=9256120
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 2558360558814569309: vdev_path changed from ‘/dev/disk/by-partuuid/d4f45115-d21b-11ea-bc27-002590db5748’ to ‘/dev/sde2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 10926754174243817966: vdev_path changed from ‘/dev/disk/by-partuuid/d51021f0-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdi2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 13733395212906534443: vdev_path changed from ‘/dev/disk/by-partuuid/d52f2438-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdf2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 17217824180768895110: vdev_path changed from ‘/dev/disk/by-partuuid/d6630266-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdc2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 8051454238781092430: vdev_path changed from ‘/dev/disk/by-partuuid/d6a69574-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdh2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 8535382695637425029: vdev_path changed from ‘/dev/disk/by-partuuid/d6b4ee02-d21b-11ea-bc27-002590db5748’ to ‘/dev/sda2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 2335491171700643644: vdev_path changed from ‘/dev/disk/by-partuuid/d4fd3610-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdl2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 3136592629563023909: vdev_path changed from ‘/dev/disk/by-partuuid/d5b1bc18-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdj2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 11736308515974993500: vdev_path changed from ‘/dev/disk/by-partuuid/d60ccef4-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdg2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 13479457084483254071: vdev_path changed from ‘/dev/disk/by-partuuid/d68f5c7c-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdo2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 5119149219636539909: vdev_path changed from ‘/dev/disk/by-partuuid/d648a21a-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdm2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 14902355098894633373: vdev_path changed from ‘/dev/disk/by-partuuid/d67abf95-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdk2’
vdev.c:2499:vdev_update_path(): vdev_copy_path: vdev 15750852432423240846: vdev_path changed from ‘/dev/disk/by-partuuid/d6ca4a39-d21b-11ea-bc27-002590db5748’ to ‘/dev/sdn2’
spa_misc.c:2311:spa_import_progress_set_notes_impl(): ‘Nexsan_2x7_raidz2’ Loading checkpoint txg
spa_misc.c:2311:spa_import_progress_set_notes_impl(): ‘Nexsan_2x7_raidz2’ Loading indirect vdev metadata
spa_misc.c:2311:spa_import_progress_set_notes_impl(): ‘Nexsan_2x7_raidz2’ Checking feature flags
spa_misc.c:404:spa_load_failed(): spa_load(Nexsan_2x7_raidz2, config trusted): FAILED: error getting refcount for feature org.illumos:lz4_compress [error=52]
spa_misc.c:418:spa_load_note(): spa_load(Nexsan_2x7_raidz2, config trusted): UNLOADING
ZFS_DBGMSG(zdb) END
root@truenas[/home/admin]#
---------WEBGUI IMPORT Error-----------
Error: concurrent.futures.process.RemoteTraceback:
“”"
Traceback (most recent call last):
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
libzfs.ZFSException: cannot import ‘Nexsan_2x7_raidz2’ as ‘Nexsan_2x7_raidz2’: 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 ‘Nexsan_2x7_raidz2’ pool: cannot import ‘Nexsan_2x7_raidz2’ as ‘Nexsan_2x7_raidz2’: 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 ‘Nexsan_2x7_raidz2’ pool: cannot import ‘Nexsan_2x7_raidz2’ as ‘Nexsan_2x7_raidz2’: I/O error