Recovering a badly broken disk

Eric Anderson anderson at freebsd.org
Sat May 19 04:55:43 UTC 2007


On 05/18/07 19:39, Fernando Schapachnik wrote:
> Hi,
> 	Please excuse if this is out of topic, but I guess is too
> specific for -questions.
> 
> 	A disk with valuable data broke. The system used to perform
> backups in a BSD partition on the same disk. Among other things, the
> first sectors were damaged and a professional data recovery shop was
> able to recover an image of the remaining disk.
> 
> 	I fdisk'ed as it was originally, then ran scan_ffs, which
> was able to found my backup partition, in mountable state.
> 
> 	I tried to copy the ~170 MB backup tbz files to another
> place, but after ~70MB the kernel gives ICRC errors and the copying
> stops. The data recovery shop is not able to extract a better image,
> so my last chance is to skip the sectors with bad CRC and try
> bzip2recover.  Unluckily, both cp and bzip2 abort on reading the
> faulty part.
> 
> 	Any ideas on how to skip the faulty part and copy as much as 
> possible? The partition in question is plain UFS1 on an ATA 80 GB 
> disk.


You might be able to use dd's noerror option to conv to have it skip 
over any errors.

Eric



More information about the freebsd-fs mailing list