From owner-freebsd-chat@FreeBSD.ORG Sat Apr 5 03:37:51 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DBDF106564A; Sat, 5 Apr 2008 03:37:51 +0000 (UTC) (envelope-from sat@cenkes.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 595A48FC14; Sat, 5 Apr 2008 03:37:51 +0000 (UTC) (envelope-from sat@cenkes.org) Received: by heka.cenkes.org (Postfix, from userid 80) id 74D03242F83F; Sat, 5 Apr 2008 07:21:43 +0400 (MSD) Received: from 85.141.85.190 (SquirrelMail authenticated user sat) by heka.gubkin.ru with HTTP; Sat, 5 Apr 2008 07:21:43 +0400 (MSD) 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> Date: Sat, 5 Apr 2008 07:21:43 +0400 (MSD) From: sat@cenkes.org To: d@delphij.net User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Maxim Sobolev , FreeBSD-Chat mailing list Subject: Re: Program to copy data from a bad disk? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 03:37:51 -0000 > 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).