Hello everyone,
I recently had a USB stick fail (running 9.1.1). It was corrupted beyond usability (couldnt mount it to save anything). I replaced the USB stick with a new one and loaded 9.3 on it figuring I would upgrade at the same time. After booting up, it was unable to find my ZFS pool "Volume1".
I can see the disks:
I can see the partitions:
But when I check zdb, I cant find any labels on any of the drives:
No amount of zpool import combinations work:
I also do not see any warnings/errors about zfs, geom, or the drives themselves:
Infact, the swap partitions on the drives seem to be functioning fine:
I'm stumped on this, and I rather perplexed why the labels would just vanish. I know I lost the zdb cache from the USB stick, but loosing my zpool because I replaced a USB stick is beyond me.
As for the "restore from backup"... This is a home NAS and I have the critical data from it backed up. But due to its size (4 x 3tb), I dont have it all backed up. I would really like to recover some of the data, if possible.
Any help the community can give me on this would be greatly appreciated.
Thanks!
-Chris
I recently had a USB stick fail (running 9.1.1). It was corrupted beyond usability (couldnt mount it to save anything). I replaced the USB stick with a new one and loaded 9.3 on it figuring I would upgrade at the same time. After booting up, it was unable to find my ZFS pool "Volume1".
I can see the disks:
Code:
[root@freenas] /tmp# camcontrol devlist <ST4000VN000-1H4168 SC46> at scbus0 target 0 lun 0 (ada0,pass0) <ST4000VN000-1H4168 SC46> at scbus1 target 0 lun 0 (ada1,pass1) <HUA723030ALA640 MKAOA870> at scbus2 target 0 lun 0 (ada2,pass2) <Hitachi HDS723030ALA640 MKAOA5C0> at scbus3 target 0 lun 0 (ada3,pass3)
I can see the partitions:
Code:
[root@freenas] /tmp# gpart show -l => 34 7814037101 ada0 GPT (3.7T) 34 94 - free - (47k) 128 4194304 1 (null) (2.0G) 4194432 7809842696 2 (null) (3.7T) 7814037128 7 - free - (3.5k) => 34 7814037101 ada1 GPT (3.7T) 34 94 - free - (47k) 128 4194304 1 (null) (2.0G) 4194432 7809842696 2 (null) (3.7T) 7814037128 7 - free - (3.5k) => 34 5860533101 ada2 GPT (2.7T) 34 94 - free - (47k) 128 4194304 1 (null) (2.0G) 4194432 5856338703 2 (null) (2.7T) => 34 5860533101 ada3 GPT (2.7T) 34 94 - free - (47k) 128 4194304 1 (null) (2.0G) 4194432 5856338703 2 (null) (2.7T)
But when I check zdb, I cant find any labels on any of the drives:
Code:
[root@freenas] /tmp# zdb -l /dev/ada0p2 -------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3
No amount of zpool import combinations work:
Code:
[root@freenas] /tmp# zpool import -a [root@freenas] /tmp# zpool import Volume1 cannot import 'Volume1': no such pool available [root@freenas] /tmp# zpool status -v no pools available
I also do not see any warnings/errors about zfs, geom, or the drives themselves:
Code:
[root@freenas] /tmp# dmesg | grep -i zfs ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) [root@freenas] /tmp# dmesg | grep -i geom GEOM_RAID5: Module loaded, version 1.1.20110927.40 (rev 00ce00e5abb4) GEOM_ELI: Device ada0p1.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software GEOM_ELI: Device ada1p1.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software GEOM_ELI: Device ada2p1.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software GEOM_ELI: Device ada3p1.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software [root@freenas] /tmp# dmesg | grep -i ada ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: <ST4000VN000-1H4168 SC46> ATA-9 SATA 3.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ata3 bus 0 scbus1 target 0 lun 0 ada1: <ST4000VN000-1H4168 SC46> ATA-9 SATA 3.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 ada2 at ata4 bus 0 scbus2 target 0 lun 0 ada2: <HUA723030ALA640 MKAOA870> ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad8 ada3 at ata5 bus 0 scbus3 target 0 lun 0 ada3: <Hitachi HDS723030ALA640 MKAOA5C0> ATA-8 SATA 3.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada3: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad10
Infact, the swap partitions on the drives seem to be functioning fine:
Code:
[root@freenas] /tmp# swapctl -l Device: 1024-blocks Used: /dev/ada0p1.eli 2097152 0 /dev/ada1p1.eli 2097152 0 /dev/ada2p1.eli 2097152 0 /dev/ada3p1.eli 2097152 0
I'm stumped on this, and I rather perplexed why the labels would just vanish. I know I lost the zdb cache from the USB stick, but loosing my zpool because I replaced a USB stick is beyond me.
As for the "restore from backup"... This is a home NAS and I have the critical data from it backed up. But due to its size (4 x 3tb), I dont have it all backed up. I would really like to recover some of the data, if possible.
Any help the community can give me on this would be greatly appreciated.
Thanks!
-Chris