HELP! GEOM: ada0: the secondary GPT header is not in the last LBA

Rod Person rodperson at
Sat Sep 20 02:29:47 UTC 2014


I don't know what happened, but I have a 2 TB hard drive that has
mainly multimedia on it. After a reboot I get the message:

GEOM: ada0: the secondary GPT header is not in the last LBA
GEOM_PART: integrity check failed (ada0, GPT)

I found the gdisk utility and when I run I get the following

root at atomizer:/ # gdisk /dev/ada0
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Warning! Secondary partition table overlaps the last partition by
10035073 blocks!
Try reducing the partition table size by 40140292 entries.
(Use the 's' item on the experts' menu.)

At this point, I don't want to go any further, it would seem that I
can restore the partition table and everything would be right again,
but having never done this I am a bit nervous. Can anyone lend a hand
with this?


He who knows himself to be one way and pretends it is another way is a
thief who robs his own soul.

  The Mahabharata
     Sakuntala 25

More information about the freebsd-questions mailing list