Hi!
suddenly the system crashed and it no longer boot.
I had to change to a backup HDD but now I would like to be able to recover some data from the other disk.
So I installed that HDD in an external HDD adapter and connected in the USB port to be used as external disk.
So I try to import the zpool and got
So I don't know what to do in this situation.
Everything I tried is not working at all.
I just want to recover some files before letting this drive leave to the Heaven of HDD!
Any help would be appreciated.
Thank you in advance.
suddenly the system crashed and it no longer boot.
I had to change to a backup HDD but now I would like to be able to recover some data from the other disk.
So I installed that HDD in an external HDD adapter and connected in the USB port to be used as external disk.
Code:
# sudo gpart show /dev/da0
=> 40 976773088 da0 GPT (466G)
40 532480 1 efi (260M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 4194304 3 freebsd-swap (2.0G)
[B]4728832 972044288 4 freebsd-zfs (464G) <<< this is the partition I want data from[/B]
976773120 8 - free - (4.0K)
Code:
# sudo zpool import -f -R /mnt zroot zrootbad -N
cannot import 'zroot' as 'zrootbad': one or more devices is currently unavailable
Code:
# sudo zdb -l /dev/da0
failed to unpack label 0
failed to unpack label 1
------------------------------------
LABEL 2
------------------------------------
version: 5000
name: 'zroot'
state: 0
txg: 256475
pool_guid: 101790034375230234
errata: 0
hostname: 'beethoven'
top_guid: 12788663817577105041
guid: 12788663817577105041
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 12788663817577105041
path: '/dev/ada0p4'
phys_path: 'id1,enc@n3061686369656d30/type@0/slot@1/elmdesc@Slot_00/p4'
whole_disk: 1
metaslab_array: 256
metaslab_shift: 32
ashift: 12
asize: 497681956864
is_log: 0
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 2 3
Everything I tried is not working at all.
I just want to recover some files before letting this drive leave to the Heaven of HDD!
Any help would be appreciated.
Thank you in advance.