From owner-freebsd-chat@FreeBSD.ORG Sun Apr 6 14:44:23 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 6B3C8106566B for ; Sun, 6 Apr 2008 14:44:23 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id D96A38FC22 for ; Sun, 6 Apr 2008 14:44:22 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m36EKCIc015359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Apr 2008 16:20:12 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id m36EK6hR076649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Apr 2008 16:20:07 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m36EK5su045726; Sun, 6 Apr 2008 16:20:05 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m36EK5cr045725; Sun, 6 Apr 2008 16:20:05 +0200 (CEST) (envelope-from ticso) Date: Sun, 6 Apr 2008 16:20:05 +0200 From: Bernd Walter To: d@delphij.net Message-ID: <20080406142004.GD15954@cicely12.cicely.de> References: <47F6C1BD.1090806@delphij.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F6C1BD.1090806@delphij.net> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de 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 Reply-To: ticso@cicely.de List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2008 14:44:23 -0000 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? PHK's recoverdisk(1) -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.