From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 29 04:28:59 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 1A2F116A4CE for ; Mon, 29 Mar 2004 04:28:59 -0800 (PST) Received: from server019.webpack.hosteurope.de (server019.webpack.hosteurope.de [80.237.130.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8274343D54 for ; Mon, 29 Mar 2004 04:28:58 -0800 (PST) (envelope-from bfischer@Techfak.Uni-Bielefeld.DE) Envelope-to: freebsd-hackers@freebsd.org Received: from pd9525a02.dip.t-dialin.net ([217.82.90.2] helo=no-support.loc) by server019.webpack.hosteurope.de with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B7vsu-0005Gz-8B; Mon, 29 Mar 2004 14:28:56 +0200 Received: from frolic.no-support.loc (localhost.no-support.loc [127.0.0.1]) by no-support.loc (8.12.9/8.12.9) with ESMTP id i2TCTfIp000549; Mon, 29 Mar 2004 14:29:41 +0200 (CEST) (envelope-from bjoern@frolic.no-support.loc) Received: (from bjoern@localhost) by frolic.no-support.loc (8.12.9/8.12.9/Submit) id i2TCTewT000548; Mon, 29 Mar 2004 14:29:40 +0200 (CEST) (envelope-from bjoern) From: Bjoern Fischer Date: Mon, 29 Mar 2004 14:29:40 +0200 To: Dan Langille Message-ID: <20040329122940.GB498@frolic.no-support.loc> References: <40671CB7.1003.71EBDCAB@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <40671CB7.1003.71EBDCAB@localhost> User-Agent: Mutt/1.4.1i X-HE-MXrcvd: no cc: freebsd-hackers@freebsd.org Subject: Re: fsck fails - mark sectors as bad? 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: Mon, 29 Mar 2004 12:28:59 -0000 Hello Dan, > I had a hard drive failure. I'm trying to get as much data off it as > I can before I restore from backup. I have mounted the drive in > another box and I'm attempting to salvage what I can. being confronted with disk crashes like the one you described I usually try to make a last backup of the complete unmounted file systems with dd. Trying to fix the file system in place, i.e. on the failing disk that is about to break down completely, makes the situation worse in many cases. After dd'ing the file systems to a safe disk you can try fsck. Bj=F6rn Fischer --=20 -----BEGIN GEEK CODE BLOCK----- GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+ K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+=20 ------END GEEK CODE BLOCK------