Hello-
I'm having some issues with the storage on my Freenas node:
- Pool won't mount
- Looks like this is due to disks unable to be seen by gpart
- GPT partition corruption messages in dmesg on the two disks that are 'missing'
System details:
- I'm running the OS off of a thumb drive
- amd64, 6gb ram
Last few changes I've made:
- Backed up 8.3 settings
- Image upgrade from 8.3 to 9.1
- Imported old settings
- created plugin jail
- didn't like it, reimaged, reimported old settings
- zfs wouldn't import
I've read quite a few of the potential fixes but the few commands I have tried (gpart recover in particular) error because it's unable to find the missing disks geometry.
Here are the commands I've gathered help you diagnose:
Full dmesg log: http://pastebin.com/cDjbLQcq
Thanks for getting this far.
Any help would be greatly appreciated.
Regards,
Nathan
I'm having some issues with the storage on my Freenas node:
- Pool won't mount
- Looks like this is due to disks unable to be seen by gpart
- GPT partition corruption messages in dmesg on the two disks that are 'missing'
System details:
- I'm running the OS off of a thumb drive
- amd64, 6gb ram
Last few changes I've made:
- Backed up 8.3 settings
- Image upgrade from 8.3 to 9.1
- Imported old settings
- created plugin jail
- didn't like it, reimaged, reimported old settings
- zfs wouldn't import
I've read quite a few of the potential fixes but the few commands I have tried (gpart recover in particular) error because it's unable to find the missing disks geometry.
Here are the commands I've gathered help you diagnose:
Code:
# uname -a FreeBSD nas.home.local 9.1-STABLE FreeBSD 9.1-STABLE #0 r+16f6355: Tue Aug 27 00:38:40 PDT 2013 root@build.ixsystems.com:/tank/home/jkh/src/freenas/os-base/amd64/tank/home/jkh/src/freenas/FreeBSD/src/sys/FREENAS.amd64 amd64
Code:
# zpool import pool: tank id: 1000707064672 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://illumos.org/msg/ZFS-8000-3C config: tank UNAVAIL insufficient replicas raidz1-0 UNAVAIL insufficient replicas gptid/3d72a75e-34cb-11e1-8b03-001d7da27a90 ONLINE gptid/3e125b84-34cb-11e1-8b03-001d7da27a90 ONLINE 12189763471895637697 UNAVAIL cannot open 5492254585232235844 UNAVAIL cannot open
Code:
# camcontrol devlist <WDC WD20EARX-42R6B0 02.00A02> at scbus1 target 0 lun 0 (ada0,pass0) <WDC WD20EARX-42R6B0 02.00A02> at scbus2 target 0 lun 0 (ada1,pass1) <WDC WD20EARX-42R6B0 02.00A02> at scbus3 target 0 lun 0 (ada2,pass2) <WDC WD20EARX-42R6B0 02.00A02> at scbus4 target 0 lun 0 (ada3,pass3) < PMAP>
Code:
# gpart show => 34 3907026988 ada0 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902832590 2 freebsd-zfs (1.8T) => 34 3907029101 ada1 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834703 2 freebsd-zfs (1.8T) => 63 15133185 da0 MBR (7.2G) 63 1930257 1 freebsd [active] (942M) 1930320 63 - free - (31k) 1930383 1930257 2 freebsd (942M) 3860640 3024 3 freebsd (1.5M) 3863664 41328 4 freebsd (20M) 3904992 11228256 - free - (5.4G) => 0 1930257 da0s1 BSD (942M) 0 16 - free - (8.0k) 16 1930241 1 !0 (942M)
Code:
# glabel status Name Status Components gptid/3d72a75e-34cb-11e1-8b03-001d7da27a90 N/A ada0p2 gptid/3e125b84-34cb-11e1-8b03-001d7da27a90 N/A ada1p2 ufs/FreeNASs3 N/A da0s3 ufs/FreeNASs4 N/A da0s4 ufs/FreeNASs1a N/A da0s1a
Code:
# dmesg | grep ada2 ada2 at ata3 bus 0 scbus3 target 0 lun 0 ada2: <WDC WD20EARX-42R6B0 02.00A02> ATA-8 SATA 1.x device ada2: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada2: quirks=0x1<4K> ada2: Previously was known as ad6 GEOM: ada2: the secondary GPT table is corrupt or invalid. GEOM: ada2: using the primary only -- recovery suggested. GEOM_MULTIPATH: ada2 added to disk2 GEOM_MULTIPATH: ada2 is now active path in disk2
Code:
# dmesg | grep ada3 ada3 at ata4 bus 0 scbus4 target 0 lun 0 ada3: <WDC WD20EARX-42R6B0 02.00A02> ATA-8 SATA 1.x device ada3: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada3: quirks=0x1<4K> ada3: Previously was known as ad8 GEOM: ada3: the secondary GPT table is corrupt or invalid. GEOM: ada3: using the primary only -- recovery suggested. GEOM_MULTIPATH: ada3 added to disk1 GEOM_MULTIPATH: ada3 is now active path in disk1
Full dmesg log: http://pastebin.com/cDjbLQcq
Thanks for getting this far.
Any help would be greatly appreciated.
Regards,
Nathan