Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 22:29:22 -0400
From:      Rod Person <rodperson@rodperson.com>
To:        freebsd-questions@freebsd.org
Subject:   HELP! GEOM: ada0: the secondary GPT header is not in the last LBA
Message-ID:  <20140919222922.1cf95b53@atomizer>

next in thread | raw e-mail | index | archive | help
Hi,

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
information:

root@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?

-- 
Rod

http://www.rodperson.com

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140919222922.1cf95b53>