Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 11:04:38 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Polytropon <freebsd@edvax.de>
Cc:        Kelly Martin <kellymartin@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: hard disk failure - now what?
Message-ID:  <20090825150438.GA10392@gizmo.acns.msu.edu>
In-Reply-To: <20090824222611.025c4e56.freebsd@edvax.de>
References:  <1338880b0908241129p75b6845cg26d21804e118364@mail.gmail.com> <20090824222611.025c4e56.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 24, 2009 at 10:26:11PM +0200, Polytropon wrote:

> On Mon, 24 Aug 2009 12:29:19 -0600, Kelly Martin <kellymartin@gmail.com> 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"



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