From owner-freebsd-chat@FreeBSD.ORG Sat Apr 5 00:32:37 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 271AA106566C for ; Sat, 5 Apr 2008 00:32:37 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id C773E8FC0A for ; Sat, 5 Apr 2008 00:32:36 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.36] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m350IqNG056640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Apr 2008 17:18:53 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <47F6C564.1070500@FreeBSD.org> Date: Fri, 04 Apr 2008 17:18:44 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: d@delphij.net References: <47F6C1BD.1090806@delphij.net> In-Reply-To: <47F6C1BD.1090806@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 00:32:37 -0000 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. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com