TempestDash
Cadet
- Joined
- Jul 12, 2013
- Messages
- 4
I am (embarrassingly) running FreeNAS-8.0.1-BETA4-amd64 because it had been working without issue for well over a year now. Well, suddenly my CIFS shares weren't working so I rebooted the box (checking the control panel didn't appear to yield any memorable error messages, but I forget now what it said). After the boot, my only storage volume had "unknown" in all its specs (size, available, etc). Checking the log showed that it was making zpool commands but the OS was reporting that it didn't recognize the volume.
I searched online for some help and ran zpool import and discovered this:
Is there any hope for me? I ran SMART on the four drives in this array and learned that the 4th drive (ada4p2) needed to be replaced. But it doesn't seem like that's going to make much of a difference, as I can't even get the pool imported into a Degraded state so I can take the disk offline.
Should I just shut it down, replace the disk, and try to import it again? Should I upgrade to the newest FreeNAS version? Should I just give up and lay down in traffic? While I'm annoyed at the loss of 2 TB of video files, I can recover those. I'm a little more miffed at the 1 TB in pictures and 100 GB in documents I've lost...
More info:
ZDB -l
gpart show
camcontrol devlist
Please help if you can.
I searched online for some help and ran zpool import and discovered this:
Code:
freenas# zpool status pool: Storage-A state: FAULTED status: The pool metadata is corrupted and the pool cannot be opened. action: Destroy and re-create the pool from a backup source. see: http://www.sun.com/msg/ZFS-8000-72 scrub: none requested config: NAME STATE READ WRITE CKSUM Storage-A FAULTED 0 0 1 corrupted data raidz1 ONLINE 0 0 6 ada0p2 ONLINE 0 0 0 ada1p2 ONLINE 0 0 0 ada3p2 ONLINE 0 0 0 ada4p2 ONLINE 0 0 0
Is there any hope for me? I ran SMART on the four drives in this array and learned that the 4th drive (ada4p2) needed to be replaced. But it doesn't seem like that's going to make much of a difference, as I can't even get the pool imported into a Degraded state so I can take the disk offline.
Should I just shut it down, replace the disk, and try to import it again? Should I upgrade to the newest FreeNAS version? Should I just give up and lay down in traffic? While I'm annoyed at the loss of 2 TB of video files, I can recover those. I'm a little more miffed at the 1 TB in pictures and 100 GB in documents I've lost...
More info:
ZDB -l
Code:
freenas# zdb -l /dev/ada4p2 -------------------------------------------- LABEL 0 -------------------------------------------- version=15 name='Storage-A' state=0 txg=11493913 pool_guid=10764243186972375573 hostid=3767420894 hostname='' top_guid=13484309572823447892 guid=4440550159471886995 vdev_tree type='raidz' id=0 guid=13484309572823447892 nparity=1 metaslab_array=23 metaslab_shift=32 ashift=9 asize=5992598208512 is_log=0 children[0] type='disk' id=0 guid=5911223021406621106 path='/dev/ada0p2' whole_disk=0 DTL=4140 children[1] type='disk' id=1 guid=15594108829430195818 path='/dev/ada1p2' whole_disk=0 DTL=4139 children[2] type='disk' id=2 guid=2071351665733571589 path='/dev/ada3p2' whole_disk=0 DTL=4138 children[3] type='disk' id=3 guid=4440550159471886995 path='/dev/ada4p2' whole_disk=0 DTL=4137 -------------------------------------------- LABEL 1 -------------------------------------------- version=15 name='Storage-A' state=0 txg=11493913 pool_guid=10764243186972375573 hostid=3767420894 hostname='' top_guid=13484309572823447892 guid=4440550159471886995 vdev_tree type='raidz' id=0 guid=13484309572823447892 nparity=1 metaslab_array=23 metaslab_shift=32 ashift=9 asize=5992598208512 is_log=0 children[0] type='disk' id=0 guid=5911223021406621106 path='/dev/ada0p2' whole_disk=0 DTL=4140 children[1] type='disk' id=1 guid=15594108829430195818 path='/dev/ada1p2' whole_disk=0 DTL=4139 children[2] type='disk' id=2 guid=2071351665733571589 path='/dev/ada3p2' whole_disk=0 DTL=4138 children[3] type='disk' id=3 guid=4440550159471886995 path='/dev/ada4p2' whole_disk=0 DTL=4137 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3
gpart show
Code:
freenas# gpart show => 34 3907029101 ada0 GPT (1.8T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834703 2 freebsd-zfs (1.8T) => 34 2930277101 ada1 GPT (1.4T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 2926082703 2 freebsd-zfs (1.4T) => 63 8027649 ada2 MBR (3.8G) 63 1930257 1 freebsd [active] (943M) 1930320 63 - free - (32K) 1930383 1930257 2 freebsd (943M) 3860640 3024 3 freebsd (1.5M) 3863664 41328 4 freebsd (20M) 3904992 4122720 - free - (2.0G) => 34 3907029101 ada3 GPT (1.8T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834703 2 freebsd-zfs (1.8T) => 0 1930257 ada2s1 BSD (943M) 0 16 - free - (8.0K) 16 1930241 1 !0 (943M) => 34 2930277101 ada4 GPT (1.4T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 2926082703 2 freebsd-zfs (1.4T)
camcontrol devlist
Code:
freenas# camcontrol devlist <ST2000DL003-9VT166 CC32> at scbus2 target 0 lun 0 (pass0,ada0) <WDC WD15EARS-00Z5B1 80.00A80> at scbus3 target 0 lun 0 (pass1,ada1) <SanDisk SDCFX3-4096 HDX 4.03> at scbus4 target 0 lun 0 (pass2,ada2) <Hitachi HDS5C3020ALA632 ML6OA580> at scbus6 target 0 lun 0 (pass3,ada3) <ST31500341AS CC1H> at scbus7 target 0 lun 0 (pass4,ada4)
Please help if you can.