recover zpool that can't be imported

Joined
Feb 24, 2022
Messages
20
Had some issues with the motherboard of the old system. I moved the disk to a different system and made no changes to export previously. When the system boots it finds the pool but cant import due to the faulted state captured below. How do I determine which disk it is reporting as offline. I am not sure how to correlate the highlighted number to the serial number. If I isolate that disk would I still be able to import the pool?

pool: NAPLES-SATA-RAIDZ-VOLUME
id: 13392335571467977791
state: FAULTED
status: The pool was last accessed by another system.
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

NAPLES-SATA-RAIDZ-VOLUME FAULTED corrupted data
raidz1-0 DEGRADED
gptid/4b056d4d-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4ad5382d-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4b0e62b1-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
17610641027356593137 OFFLINE
gptid/b5105f23-4e42-11ed-a5f8-ac1f6beb0f4c ONLINE
gptid/4b245f4b-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4b2c24c9-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
raidz1-3 ONLINE
gptid/2c8df258-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2cab60d9-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c984c82-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2cc18a36-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c80e634-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c92d50a-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
logs
gptid/5e073063-3da2-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/5e0eb1c2-3da2-11ed-9ec7-ac1f6beb0f4c ONLINE


root@truenas[~]#
root@truenas[~]# glabel status
Name Status Components
gptid/0e2c39b5-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd2p2
gptid/5e073063-3da2-11ed-9ec7-ac1f6beb0f4c N/A nvd3p1
gptid/5e0eb1c2-3da2-11ed-9ec7-ac1f6beb0f4c N/A nvd4p1
gptid/0e25b610-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd5p2
gptid/0e5b01a8-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd6p2
gptid/0e1577dd-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd7p2
gptid/0e022865-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd8p2
gptid/0e21def1-4cf8-11ed-82b9-ac1f6beb0f4c N/A nvd9p2
gptid/e1aaf876-e47e-11ed-8ed0-a0423f4fad68 N/A ada2p1
gptid/e1b4c5b6-e47e-11ed-8ed0-a0423f4fad68 N/A ada2p2
gptid/824a5646-17b9-11ee-8d6e-7c10c93f4586 N/A ada6p1
gptid/2c92d50a-3f7f-11ed-9ec7-ac1f6beb0f4c N/A ada1p2
gptid/82418cf1-17b9-11ee-8d6e-7c10c93f4586 N/A ada5p1
gptid/9cfb0551-4dc0-11ed-a5f8-ac1f6beb0f4c N/A ada3p2
gptid/b5105f23-4e42-11ed-a5f8-ac1f6beb0f4c N/A da1p2
gptid/7f9c6e89-ee88-11ed-933a-a0423f4fad68 N/A ada0p2
gptid/4b0e62b1-3da1-11ed-9ec7-ac1f6beb0f4c N/A da4p2
gptid/4ad5382d-3da1-11ed-9ec7-ac1f6beb0f4c N/A da7p2
gptid/4b056d4d-3da1-11ed-9ec7-ac1f6beb0f4c N/A da0p2
gptid/2c984c82-3f7f-11ed-9ec7-ac1f6beb0f4c N/A ada4p2
gptid/4b2c24c9-3da1-11ed-9ec7-ac1f6beb0f4c N/A da8p2
gptid/2c80e634-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da2p2
gptid/2cab60d9-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da10p2
gptid/2c8df258-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da3p2
gptid/2cc18a36-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da9p2
gptid/4b245f4b-3da1-11ed-9ec7-ac1f6beb0f4c N/A da6p2
gptid/4ade9261-3da1-11ed-9ec7-ac1f6beb0f4c N/A da6p1
gptid/2c7726d2-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da9p1
gptid/2c3260d7-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da3p1
gptid/2c2a32c1-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da10p1
gptid/2c19e658-3f7f-11ed-9ec7-ac1f6beb0f4c N/A da2p1
gptid/4aca117b-3da1-11ed-9ec7-ac1f6beb0f4c N/A da8p1
gptid/2c41d9ab-3f7f-11ed-9ec7-ac1f6beb0f4c N/A ada4p1
gptid/4ab6f97a-3da1-11ed-9ec7-ac1f6beb0f4c N/A da0p1
gptid/4a990ac9-3da1-11ed-9ec7-ac1f6beb0f4c N/A da7p1
gptid/4aadde14-3da1-11ed-9ec7-ac1f6beb0f4c N/A da4p1
gptid/7f842405-ee88-11ed-933a-a0423f4fad68 N/A ada0p1
gptid/b4f01713-4e42-11ed-a5f8-ac1f6beb0f4c N/A da1p1
gptid/9cf603eb-4dc0-11ed-a5f8-ac1f6beb0f4c N/A ada3p1
gptid/2c4e4fa1-3f7f-11ed-9ec7-ac1f6beb0f4c N/A ada1p1
gptid/e1b00daf-e47e-11ed-8ed0-a0423f4fad68 N/A ada2p3


+++++++++++
Not sure how to figure the physical serial number for the offline drive
1689117638507.png
 
Joined
Feb 24, 2022
Messages
20
Still not sure how correlate this output to the physical drive

gptid/9cf603eb-4dc0-11ed-a5f8-ac1f6beb0f4c N/A ada3p1
gptid/2c4e4fa1-3f7f-11ed-9ec7-ac1f6beb0f4c N/A ada1p1
gptid/e1b00daf-e47e-11ed-8ed0-a0423f4fad68 N/A ada2p3
root@truenas[~]# zdb -l /dev/ada0p2
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'NAPLES-SATA-RAIDZ-VOLUME'
state: 0
txg: 1867430
pool_guid: 13392335571467977791
errata: 0
hostid: 2561052841
hostname: ''
top_guid: 13483495543322532732
guid: 17610641027356593137
vdev_children: 5
vdev_tree:
type: 'raidz'
id: 0
guid: 13483495543322532732
nparity: 1
metaslab_array: 137
metaslab_shift: 34
ashift: 12
asize: 55995876507648
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 6699077973069220370
path: '/dev/gptid/4b056d4d-3da1-11ed-9ec7-ac1f6beb0f4c'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@9/p2'
DTL: 594
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 17202868484204630429
path: '/dev/gptid/4ad5382d-3da1-11ed-9ec7-ac1f6beb0f4c'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@2/p2'
DTL: 593
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 5997615711680594197
path: '/dev/gptid/4b0e62b1-3da1-11ed-9ec7-ac1f6beb0f4c'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@10/p2'
DTL: 592
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 17610641027356593137
path: '/dev/da9p2'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@8/p2'
DTL: 591
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 12818104095896987338
path: '/dev/gptid/b5105f23-4e42-11ed-a5f8-ac1f6beb0f4c'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@a/p2'
DTL: 21341
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 8323995713329423129
path: '/dev/gptid/4b245f4b-3da1-11ed-9ec7-ac1f6beb0f4c'
DTL: 589
create_txg: 4
children[6]:
type: 'disk'
id: 6
guid: 5909767864838000474
path: '/dev/gptid/4b2c24c9-3da1-11ed-9ec7-ac1f6beb0f4c'
phys_path: 'id1,enc@n510600b00fde7dc0/type@0/slot@4/p2'
DTL: 588
create_txg: 4
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
If your drives have activity lights, you can go from identifier to light with dd if=/dev/da4 of=/dev/null bs=1024k count=5000
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
For importing, have you tried with the -f flag yet?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I tried varying combinations of zpool import -f -F -m -X Poolname
with what result? (clearly not an imported pool it seems, but other output may have provided some clues)

I note that the pool is showing as "corrupted data" at this point.

What's your hardware setup?
 
Joined
Feb 24, 2022
Messages
20
The pool is currently in a Ryzen build and leverages a LSI 9300-16i HBA for connection to all drives. All 14 drives in pool show up in GUI but for some reason I cant figure out what drive is reporting as offline to try to remediate.

boot-pool ONLINE
mirror-0 ONLINE
gptid/e1a67a36-e47e-11ed-8ed0-a0423f4fad68 ONLINE
gptid/e1b4c5b6-e47e-11ed-8ed0-a0423f4fad68 ONLINE

pool: NAPLES-SATA-RAIDZ-VOLUME
id: 13392335571467977791
state: FAULTED
status: The pool was last accessed by another system.
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

NAPLES-SATA-RAIDZ-VOLUME FAULTED corrupted data
raidz1-0 DEGRADED
gptid/4b056d4d-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4ad5382d-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4b0e62b1-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
17610641027356593137 OFFLINE
gptid/b5105f23-4e42-11ed-a5f8-ac1f6beb0f4c ONLINE
gptid/4b245f4b-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/4b2c24c9-3da1-11ed-9ec7-ac1f6beb0f4c ONLINE
raidz1-3 ONLINE
gptid/2c8df258-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2cab60d9-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c984c82-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2cc18a36-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c80e634-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/2c92d50a-3f7f-11ed-9ec7-ac1f6beb0f4c ONLINE
gptid/9cfb0551-4dc0-11ed-a5f8-ac1f6beb0f4c ONLINE



root@truenas[~]# zpool import -f -F -m NAPLES-SATA-RAIDZ-VOLUME
cannot import 'NAPLES-SATA-RAIDZ-VOLUME': one or more devices is currently unavailable
root@truenas[~]# zpool import -f -F -D -R /mnt NAPLES-SATA-RAIDZ-VOLUME
cannot import 'NAPLES-SATA-RAIDZ-VOLUME': no such pool available
root@truenas[~]# zpool import -f -FX NAPLES-SATA-RAIDZ-VOLUME -l
cannot import 'NAPLES-SATA-RAIDZ-VOLUME': one or more devices is currently unavailable
root@truenas[~]# zpool import -f -FX NAPLES-SATA-RAIDZ-VOLUME -l
cannot import 'NAPLES-SATA-RAIDZ-VOLUME': one or more devices is currently unavailable
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Top