Date: Fri, 4 Apr 2008 18:30:26 -0600 From: Brad Davis <brd@FreeBSD.org> To: d@delphij.net Cc: FreeBSD-Chat mailing list <freebsd-chat@freebsd.org> Subject: Re: Program to copy data from a bad disk? Message-ID: <20080405003026.GE67968@valentine.liquidneon.com> In-Reply-To: <47F6C1BD.1090806@delphij.net> References: <47F6C1BD.1090806@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 04, 2008 at 05:03:09PM -0700, 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? Hi Xin, I recently found sysutils/dd_rescue and sysutils/ddrescue. I have never tried them, but they are supposed to do what you want. Regards, Brad Davis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080405003026.GE67968>