3
Recovering files from bad zpool?
(lemmy.ml)
submitted
18 hours ago* (last edited 1 hour ago)
by
brownmustardminion@lemmy.ml
to
c/selfhosted@lemmy.world
Does anyone know if it's possible to recover files from a single drive zpool that refuses to import?
Tried -rFf and even -X. Nothing working.
The underlying "disk" is a 16TB hardware RAID10 pool in a dell power edge. No errors reported. Zpool shows as ONLINE.
It just stopped working after a reboot one day. Was working for 5 years straight previously.
EDIT:
zpool diagnostics
sdb 16.4T disk PERC H710 00a01fd708d9c48a2b0082ebe8a0a38c
├─sdb1 2G part
└─sdb2 16.4T part zfs_member
[Fri Dec 4 23:56:02 2026] sdb: sdb1 sdb2
[Fri Dec 4 23:58:11 2026] sdb: sdb1 sdb2
[Sat Dec 5 00:04:22 2026] WARNING: can't open objset 97, error 5
[Sat Dec 5 00:04:23 2026] WARNING: can't open objset 97, error 5
[Sat Dec 5 00:04:23 2026] WARNING: can't open objset 97, error 5
# zpool import
pool: raid10
id: 15470618603930865828
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:
raid10 ONLINE
6979d1a1-b561-11ed-a6c5-edfb66203ee2 ONLINE
# zpool import -f -o readonly=on raid10
cannot import 'raid10': I/O error
Destroy and re-create the pool from
a backup source.
# zdb -lu raid10
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'raid10'
state: 0
txg: 23135848
pool_guid: 15470618603930865828
errata: 0
min_alloc: 4096
max_alloc: 4096
hostid: 1703601221
hostname: 'fileserver'
top_guid: 5342637165108249719
guid: 5342637165108249719
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 5342637165108249719
path: '/dev/disk/by-partuuid/6979d1a1-b561-11ed-a6c5-edfb66203ee2'
metaslab_array: 256
metaslab_shift: 34
ashift: 12
asize: 17998055473152
min_alloc: 4096
is_log: 0
DTL: 3907
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
Uberblock[0]
magic = 0000000000bab10c
version = 5000
txg = 23447904
guid_sum = 2366511695329563931
timestamp = 1796440626 UTC = Fri Dec 4 22:17:06 2026
bp = DVA[0]=<0:b837b2ee000:1000> DVA[1]=<0:4e6d737b000:1000> DVA[2]=<0:41c14d67000:1000> [L0 DMU objset] fletcher4 uncompressed unencrypted LE contiguous unique triple size=1000L/1000P birth=23447904L/23447904P fill=1225 cksum=000000039b5ed4b8:00000df6999419a2:001b0efba565cc2a:22ff18ed72335372
mmp_magic = 00000000a11cea11
mmp_delay = 0
mmp_valid = 0
checkpoint_txg = 0
labels = 0 1 2 3
# zpool import -f -T 23447615 -o readonly=on -N -R /mnt/raid10_ro 15470618603930865828
cannot import 'raid10': one or more devices is currently unavailable
# zpool import -f raid10
cannot import 'raid10': I/O error
Destroy and re-create the pool from
a backup source
# zpool import -f -FXn raid10
actively read disk for a couple of hours. ended with no output
Can it be imported in read-only mode?
Apparently not. I updated my original post with the commands I tried and feedback.