Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 12:44:45 +0100
From:      BSD Life <bsd4life@googlemail.com>
To:        freebsd-geom@freebsd.org
Subject:   geli recovery
Message-ID:  <e0df4dc61001210344hd9ddf75t79f56ae4310d9f7f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Since I didn't get a response on -stable yet, I ask here again.

I put my WD5000AACS in my Windows PC and did a SMART drive quick self-test
with the WD utility (Data Lifeguard Diagnostic for Windows) to check my
drive because of the recently discussed Load/Reload Cycle problem.
No data was written to the drive. I put it back to my FreeBSD box
(8.0-Stable) and I I am not able to decrypt it anymore with geli.
It keeps telling: # geli attach -k /etc/keys/keyfile /dev/ada0
geli: Cannot read metadata from /dev/ada0: Invalid argument.

A geli backup command failed with:
geli: MD5 hash mismatch: not a geli provider?

I think Windows has messed up something on my disk, but a fdisk dump looks
still the same as before:
# fdisk /dev/ada0
******* Working on device /dev/ada0 *******
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 976773105 (476939 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 316/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Are there any things I could try or is all my data gone?
Thanks in advance



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