From owner-freebsd-questions@FreeBSD.ORG Tue Aug 25 15:08:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4083106568C for ; Tue, 25 Aug 2009 15:08:13 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 69DE88FC2D for ; Tue, 25 Aug 2009 15:08:13 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7PF4cjM010455; Tue, 25 Aug 2009 11:04:38 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7PF4cAv010454; Tue, 25 Aug 2009 11:04:38 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 25 Aug 2009 11:04:38 -0400 From: Jerry McAllister To: Polytropon Message-ID: <20090825150438.GA10392@gizmo.acns.msu.edu> References: <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824222611.025c4e56.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090824222611.025c4e56.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i Cc: Kelly Martin , FreeBSD Questions Subject: Re: hard disk failure - now what? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 15:08:13 -0000 On Mon, Aug 24, 2009 at 10:26:11PM +0200, Polytropon wrote: > On Mon, 24 Aug 2009 12:29:19 -0600, Kelly Martin wrote: > > My question: what kind of checks and/or repair tools should I run on > > the damaged drive after it's mounted? Or should I mount it as > > read-only and start backing it up? > > Thou shalt not manipluate thy file systems while they are mounted. :-) > Perform an fsck on the partitions first, then mount them ro. Copy > the files you need. > > In case you can't "reach" essential files, you have the change to > use forensic tools to get them. > > Finally, keep in mind that for further diagnostics and restore > operations it's always wise not to use the original file systems, > i. e. the original disk. Make dd copies of the partitions onto > a working disk and use them instead. Luckily, most operations > work on plain files as well as on block device specials. dd will barf on bad bits too. You can tinker to make it skip over the bad block, but it won't read it. ////jerry > > > I am hoping most of my data is > > still there, but also don't want to damage it further. > > Good idea. This encourages you to follow the advice given above. > > > > > I desperately > > need to salvage the data, what do the kind people on this list > > recommend? > > BACKUPS!!! =^_^= > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"