From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 11 08:25:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF00216A4CE for ; Thu, 11 Mar 2004 08:25:48 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 702F543D1F for ; Thu, 11 Mar 2004 08:25:48 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2BGPlVv052469; Thu, 11 Mar 2004 10:25:47 -0600 (CST) (envelope-from dan) Date: Thu, 11 Mar 2004 10:25:47 -0600 From: Dan Nelson To: Daniel Lang Message-ID: <20040311162545.GF27984@dan.emsphone.com> References: <200403101736.i2AHaqIF029948@www.kukulies.org> <20040311142128.GG20701@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040311142128.GG20701@atrbg11.informatik.tu-muenchen.de> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: "C. Kukulies" cc: hackers@freebsd.org Subject: Re: off topic - disk crash X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 16:25:48 -0000 In the last episode (Mar 11), Daniel Lang said: > C. Kukulies wrote on Wed, Mar 10, 2004 at 06:36:52PM +0100: > [..] > > The disk boots into FreeBSD but already at power on time the disk > > does seek retries or some recalibration noise. > > > > The question is what else can I do to recover the data. Put it in > > the icebox? Turn the computer upside down? > > Put it into another box running a working FreeBSD and enough > disk-space to contain all the contents of the damaged disk. > > Check if you can still read the disklabel (just do "disklabel ad1s1 > (or whatever your device is)). > > If you can read the disklabel, grab the contents of each partition > with dd, use the 'conv=noerror,sync' options to fill unreadable > sectors with zeros. Also, if it looks like a single bad area of the disk, try a dd starting a couple megs past the bad spot (with iseek+oseek) if the drive stops responding after it hits the bad area. I recovered data from a failed disk this way. -- Dan Nelson dnelson@allantgroup.com