From owner-freebsd-geom@FreeBSD.ORG Thu Jan 21 12:30:17 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77789106566C for ; Thu, 21 Jan 2010 12:30:17 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 335E58FC0A for ; Thu, 21 Jan 2010 12:30:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXwAt-0008W2-EE for freebsd-geom@freebsd.org; Thu, 21 Jan 2010 13:30:11 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 13:30:11 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 13:30:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 21 Jan 2010 13:29:55 +0100 Lines: 48 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100118 Thunderbird/3.0 In-Reply-To: Sender: news Subject: Re: geli recovery X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 12:30:17 -0000 On 01/21/10 12:44, BSD Life wrote: > 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 Was there ever a partition table on the drive? > 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: > > The data for partition 3 is: > > The data for partition 4 is: > > > Are there any things I could try or is all my data gone? You could read the last sector of the disk and send it here for inspection (pass it through 'hd').