From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 02:29:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B5DF6C0 for ; Sat, 20 Sep 2014 02:29:47 +0000 (UTC) Received: from mail1.g16.pair.com (unknown [IPv6:2607:f440::4227:4116]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 192B7ABB for ; Sat, 20 Sep 2014 02:29:46 +0000 (UTC) Received: from atomizer (c-71-60-227-57.hsd1.pa.comcast.net [71.60.227.57]) by mail1.g16.pair.com (Postfix) with ESMTPSA id 1E6EF5C58 for ; Fri, 19 Sep 2014 22:29:23 -0400 (EDT) Date: Fri, 19 Sep 2014 22:29:22 -0400 From: Rod Person To: freebsd-questions@freebsd.org Subject: HELP! GEOM: ada0: the secondary GPT header is not in the last LBA Message-ID: <20140919222922.1cf95b53@atomizer> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2014 02:29:47 -0000 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