Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2008 07:21:43 +0400 (MSD)
From:      sat@cenkes.org
To:        d@delphij.net
Cc:        Maxim Sobolev <sobomax@freebsd.org>, FreeBSD-Chat mailing list <freebsd-chat@freebsd.org>
Subject:   Re: Program to copy data from a bad disk?
Message-ID:  <3496.85.141.85.190.1207365703.squirrel@heka.gubkin.ru>
In-Reply-To: <47F6D1A8.7080203@delphij.net>
References:  <47F6C1BD.1090806@delphij.net> <47F6C564.1070500@FreeBSD.org> <47F6D1A8.7080203@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Maxim Sobolev wrote:
>> LI Xin wrote:
>>> Hi,
>>>
>>> Recently my hard drive goes bad again, which has a lot of bad sectors
>>> for unknown reasons.  I am looking for some software that is capable
>>> of doing a sector-to-sector copy of the hard drive.
>>>
>>> I have tried dd but with conv=noerror,sync it would just fill 0's for
>>> the whole block size (say, in order to get best speed you will want
>>> bs=128k or even larger, but that means that you will lose data  when 1
>>> of these 256 sectors is bad).  Is there any program that is smarter
>>> which do a sector-to-sector copy for these failed blocks and use
>>> larger transfer buffer for others?
>>
>> The src/tools/tools/recoverdisk does exactly that.
>
> Ah, great, and especially it's available from LiveFS disc as
> /usr/sbin/recoverdisk!

If you don't quite like the result, ddrescue (not dd_rescue) is
very well-maintained (upstream), and is very fast and smart in
comparison to its alternatives.

Another good chance to save your data is sadly commercial -
SpinRite ($89).



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