fsck fails - mark sectors as bad?

Bjoern Fischer bfischer at Techfak.Uni-Bielefeld.DE
Mon Mar 29 04:28:59 PST 2004


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örn Fischer

-- 
-----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+ 
------END GEEK CODE BLOCK------


More information about the freebsd-hackers mailing list