Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 13:46:12 -0700
From:      Patrick Mahan <mahan@mahan.org>
To:        freebsd-fs@freebsd.org
Subject:   GEOM: ada0: corrupt or invalid
Message-ID:  <4FBFEF94.4020407@mahan.org>

next in thread | raw e-mail | index | archive | help
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: <WDC WD800JD-75JNA0 05.01C05> 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



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