Jeff Buddington
Cadet
- Joined
- Jun 24, 2014
- Messages
- 8
Team-
Please help. Had my FreeNAS system for a long time successfully but I am stuck on 8.2 p1 and now my boot flash died. Fresh install and boot. First time I can auto import my ZFS pool called GenePool.
This is a pool with two RAID5 groups with 6 1TB drives and 6 2TB drives. Most of the drives have been failed, successfully replaced and resilvered over a period of time. There are only a few original drives remaining. These show up in gpart status as OK. The drives I repartitioned as identically as I could and successfully resilvered show up as corrupt GPT table.
Once successful autoimport, after a reboot, I get the following error messages:
Then the Pool Will not Mount or work, says not available.
Here is an example of a good gpart:
Here is one showing corrupted:
Please help. Had my FreeNAS system for a long time successfully but I am stuck on 8.2 p1 and now my boot flash died. Fresh install and boot. First time I can auto import my ZFS pool called GenePool.
This is a pool with two RAID5 groups with 6 1TB drives and 6 2TB drives. Most of the drives have been failed, successfully replaced and resilvered over a period of time. There are only a few original drives remaining. These show up in gpart status as OK. The drives I repartitioned as identically as I could and successfully resilvered show up as corrupt GPT table.
Code:
[root@gp1] ~# gpart status Name Status Components da0s1 OK da0 da0s2 OK da0 da0s3 OK da0 da0s4 OK da0 da0s1a OK da0s1 ada1p1 CORRUPT ada1 ada1p2 CORRUPT ada1 ada2p1 CORRUPT ada2 ada2p2 CORRUPT ada2 ada4p1 CORRUPT ada4 ada4p2 CORRUPT ada4 ada5p1 OK ada5 ada5p2 OK ada5 ada6p1 CORRUPT ada6 ada6p2 CORRUPT ada6 ada7p1 CORRUPT ada7 ada7p2 CORRUPT ada7 ada8p1 OK ada8 ada8p2 OK ada8 ada9p1 OK ada9 ada9p2 OK ada9 ada10p1 CORRUPT ada10 ada10p2 CORRUPT ada10 ada11p1 OK ada11 ada11p2 OK ada11
Once successful autoimport, after a reboot, I get the following error messages:
Code:
GEOM: ada0: the primary GPT table is corrupt or invalid. GEOM: ada0: using the secondary instead -- recovery strongly advised. GEOM: ada1: the primary GPT table is corrupt or invalid. GEOM: ada1: using the secondary instead -- recovery strongly advised. GEOM: ada2: the primary GPT table is corrupt or invalid. GEOM: ada2: using the secondary instead -- recovery strongly advised. GEOM: ada3: the primary GPT table is corrupt or invalid. GEOM: ada3: using the secondary instead -- recovery strongly advised. GEOM: ada4: the primary GPT table is corrupt or invalid. GEOM: ada4: using the secondary instead -- recovery strongly advised. GEOM: ada6: the primary GPT table is corrupt or invalid. GEOM: ada6: using the secondary instead -- recovery strongly advised. GEOM: ada7: the primary GPT table is corrupt or invalid. GEOM: ada7: using the secondary instead -- recovery strongly advised. GEOM: ada10: the primary GPT table is corrupt or invalid. GEOM: ada10: using the secondary instead -- recovery strongly advised. Trying to mount root from ufs:/dev/ufs/FreeNASs1a ZFS filesystem version 4 ZFS storage pool version 15 ZFS WARNING: Unable to attach to ada10. ZFS WARNING: Unable to attach to ada4. ZFS WARNING: Unable to attach to ada7. ZFS WARNING: Unable to attach to ada6. ZFS WARNING: Unable to attach to ada1. ZFS WARNING: Unable to attach to ada2. ZFS WARNING: Unable to attach to ada10. ZFS WARNING: Unable to attach to ada4. ZFS WARNING: Unable to attach to ada7. ZFS WARNING: Unable to attach to ada6. ZFS WARNING: Unable to attach to ada1. ZFS WARNING: Unable to attach to ada2. GEOM: ada0: the primary GPT table is corrupt or invalid. GEOM: ada0: using the secondary instead -- recovery strongly advised. GEOM: ada3: the primary GPT table is corrupt or invalid. GEOM: ada3: using the secondary instead -- recovery strongly advised.
Then the Pool Will not Mount or work, says not available.
Here is an example of a good gpart:
Code:
[root@gp1] ~# camcontrol identify ada5 pass5: <Hitachi HDT721010SLA360 ST6OA31B> ATA-8 SATA 2.x device pass5: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model Hitachi HDT721010SLA360 firmware revision ST6OA31B serial number STF604MR22KR1P WWN 5000cca349dd5a3c cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 1953525168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM 7200 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 254/0xFE 128/0x80 media status notification no no power-up in Standby yes no write-read-verify no no unload no no free-fall no no data set management (TRIM) no
Here is one showing corrupted:
Code:
Geom name: ada11 state: OK fwheads: 16 fwsectors: 63 last: 1953525134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada11p1 Mediasize: 2147483648 (2.0G) Sectorsize: 512 Mode: r1w1e0 rawuuid: 95943d58-7763-11e0-b4ec-485b39c1d8a6 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: swap-ada3 length: 2147483648 offset: 65536 type: freebsd-swap index: 1 end: 4194431 start: 128 2. Name: ada11p2 Mediasize: 998057319936 (930G) Sectorsize: 512 Mode: r0w0e0 rawuuid: 959b5561-7763-11e0-b4ec-485b39c1d8a6 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: disk3 length: 998057319936 offset: 2147549184 type: freebsd-zfs index: 2 end: 1953525134 start: 4194432 Consumers: 1. Name: ada11 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1
Code:
[root@gp1] ~# camcontrol identify ada0 pass0: <ST32000542AS CC34> ATA-8 SATA 2.x device pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model ST32000542AS firmware revision CC34 serial number 5XW16XD9 WWN 5000c5002a6872a4 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 3907029168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM 5900 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 0/0x00 254/0xFE media status notification no no power-up in Standby yes no write-read-verify yes no 0/0x0 unload no no free-fall no no data set management (TRIM) no