From owner-freebsd-fs@FreeBSD.ORG Fri May 25 21:04:17 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27ABD1065679 for ; Fri, 25 May 2012 21:04:17 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (ns.mahan.org [67.116.10.138]) by mx1.freebsd.org (Postfix) with ESMTP id 0004B8FC20 for ; Fri, 25 May 2012 21:04:16 +0000 (UTC) Received: from gypsy.mahan.org (localhost [127.0.0.1]) by ns.mahan.org (8.14.4/8.14.4) with ESMTP id q4PKkBIf053256 for ; Fri, 25 May 2012 13:46:11 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4FBFEF94.4020407@mahan.org> Date: Fri, 25 May 2012 13:46:12 -0700 From: Patrick Mahan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: GEOM: ada0: corrupt or invalid X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 21:04:17 -0000 All, First - These are FreeBSD 9.0 I am experiencing an unusual problem brought on because I used dd(1) to close a boot drive. We are setting up some demo systems to ship to our VARs and we initially used HP Proliants with WD 300 GB drives. But management decided to go with a Dell towers (power edge?) instead. These new drives are only 80 GB, so I tried to use dd to only copy the first 80 GB since it did not look like the usage on the WD's were under 80 GB. However, after the dd and boot of the Dell box I am seeing the following: ada0 at ata2 bus 0 scbus2 target 0 lun 0 ada0: ATA-6 SATA 1.x device ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada0: 76293MB (156250000 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 GEOM: ada0: corrupt or invalid GPT detected. GEOM: ada0: GPT rejected -- may not be recoverable. And the boxes will not boot since they cannot find the kernel, etc. I booted the install media and switched to live-cd. That's where I found the error for the ada0 device. Looking at the /dev directory, I don't seen and of the partitions (a, b, c, etc). Also, on the HP this drive showed up as da0, not ada0, so I know that the /etc/fstab file needs to be fixed. But the question is - "Is this recoverable? Or should we just re-install everything from scratch?" Googling for the above error only seemed per