Hi,
I had a disk in a zfs pool fail. I ordered a new disk and after I shutdown to replace the disk I have now lost the pool.
13378492932401563744 is the new disk but with ada2 unavailable, I can't rebuild the pool
Can I recreate the label on ada2?
I can get data from ada0
Is recovery possible or am I SOL?
Thanks
Andrew
I had a disk in a zfs pool fail. I ordered a new disk and after I shutdown to replace the disk I have now lost the pool.
Code:
# zpool import
pool: data
id: 10364801433109347175
state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E
config:
data UNAVAIL insufficient replicas
mirror-0 ONLINE
ada0 ONLINE
ada1 ONLINE
mirror-1 UNAVAIL insufficient replicas
ada2 UNAVAIL invalid label
13378492932401563744 UNAVAIL invalid label
mirror-2 ONLINE
ada3 ONLINE
ada4 ONLINE
mirror-3 ONLINE
ada5 ONLINE
13378492932401563744 is the new disk but with ada2 unavailable, I can't rebuild the pool
Can I recreate the label on ada2?
Code:
# zdb -lu /dev/ada2
failed to unpack label 0
failed to unpack label 1
failed to unpack label 2
failed to unpack label 3
I can get data from ada0
Code:
Uberblock[31]
magic = 0000000000bab10c
version = 5000
txg = 15153279
guid_sum = 5751658451015623055
timestamp = 1676310864 UTC = Mon Feb 13 17:54:24 2023
mmp_magic = 00000000a11cea11
mmp_delay = 0
mmp_valid = 0
checkpoint_txg = 0
labels = 0 1 2 3
Is recovery possible or am I SOL?
Thanks
Andrew