Corrupt GPT header on disk from twa array - fixable?

Alban Hertroys haramrae at gmail.com
Sun Jun 2 14:30:18 UTC 2013


On Jun 2, 2013, at 16:19, "Steven Hartland" <killing at multiplay.co.uk> wrote:

> ----- Original Message ----- From: "Kimmo Paasiala" <kpaasial at gmail.com>
> 
>> Looking at the gpart(8) output it seems that only 20GBs of the disk is
>> recognized by the disk driver but the GPT table still shows the full
>> capacity 910GB. I'd say that the GPT table is in fact correct and if
>> you can somehow get the disks to be recognized with full capacity they
>> should be usable as they are. What does dmesg(8) say about the disks?
> 
> What does "camcontrol identify ada4" show?


You guys are asking good questions! I'm learning new stuff already :P

# camcontrol identify ada4
pass4: <Hitachi HDS721010CLA332 JP4OA39C> ATA-8 SATA 2.x device
pass4: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 2.x
device model          Hitachi HDS721010CLA332
firmware revision     JP4OA39C
serial number         JP2930HQ0XPH3H
WWN                   5000cca35dcd0b0d
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


For good measure:
# uname -a
FreeBSD solfertje 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

(I'm building STABLE world as we speak)


Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.



More information about the freebsd-stable mailing list