GEOM_PART: Integrity check failed (ada2, MBR)

Ronald F. Guilmette rfg at tristatelogic.com
Fri May 16 19:39:02 UTC 2014


In message <20140516130346.GB43976 at funkthat.com>, 
John-Mark Gurney <jmg at funkthat.com> wrote:

>> The result of the above operations is as follows:
>> 
>> May 15 21:53:33 segfault kernel: ada2 at ata5 bus 0 scbus5 target 0 lun 0
>> May 15 21:53:33 segfault kernel: ada2: <Hitachi HTS541010A9E680 JA0OA480> AT
>A-8 SATA 3.x device
>> May 15 21:53:33 segfault kernel: ada2: 300.000MB/s transfers (SATA 2.x, UDMA
>5, PIO 8192bytes)
>> May 15 21:53:33 segfault kernel: ada2: 31MB (65134 512 byte sectors: 16H 63S
>/T 64C)
>
>Wow, I just noticed this...  FreeBSD is only seeing it as a 31MB drive
>instead of a 1TB drive...  This is probably the problem...

OHHHHH!  Wow!  Yea.  That is MESSED UP!

Good eye there!  I hadn't noticed THAT!

>What do "diskinfo /dev/ada2" and "camcontrol identify ada2" return?

I have created files containing those two outputs.  Please fetch them here:

ftp://ftp.tristatelogic.com/pub/ada2.diskinfo
ftp://ftp.tristatelogic.com/pub/ada2.camcontrol

>If it really does return that the disk is only 31MB, we need to track this
>down, and this is why we're failing the integrity check of the MBR..

I don't know how to properly read/interpret these outputs, so your further
guidance would be greatly appreciated.

I will say however that it does appear to me that both programs _are_
indeed viewing the drive in question as (perhaps) containing only 31MB...
which is indeed seriously messed up.

(It is absolutely the case that the drive in question is indeed a 1TB drive.)


More information about the freebsd-geom mailing list