From owner-freebsd-fs@FreeBSD.ORG Sat May 19 00:54:56 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 569C516A404 for ; Sat, 19 May 2007 00:54:56 +0000 (UTC) (envelope-from fernando@schapachnik.com.ar) Received: from mail.fac.org.ar (mail.fac.org.ar [200.59.49.21]) by mx1.freebsd.org (Postfix) with ESMTP id 666F913C45B for ; Sat, 19 May 2007 00:54:53 +0000 (UTC) (envelope-from fernando@schapachnik.com.ar) Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.59.46.198]) by mail.fac.org.ar (8.12.11/8.12.11) with ESMTP id l4J0dTWv002232 for ; Fri, 18 May 2007 21:39:33 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) Received: from servidor1.cursosvirtuales.com.ar (localhost [127.0.0.1]) by servidor1.cursosvirtuales.com.ar (8.12.11/8.12.11) with ESMTP id l4J0dPKl004829 for ; Fri, 18 May 2007 21:39:25 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) Received: from schapachnik.com.ar (uucp@localhost) by servidor1.cursosvirtuales.com.ar (8.12.11/8.12.11/Submit) with UUCP id l4J0dPbO004828 for freebsd-fs@freebsd.org; Fri, 18 May 2007 21:39:25 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) Received: from funes.schapachnik.com.ar (localhost [127.0.0.1]) by funes.schapachnik.com.ar (8.13.8/8.13.8) with ESMTP id l4J0dG1N003326 for ; Fri, 18 May 2007 21:39:16 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) Received: (from fpscha@localhost) by funes.schapachnik.com.ar (8.13.8/8.13.8/Submit) id l4J0dBMt003325 for freebsd-fs@freebsd.org; Fri, 18 May 2007 21:39:11 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) X-Authentication-Warning: funes.schapachnik.com.ar: fpscha set sender to fernando@schapachnik.com.ar using -f Date: Fri, 18 May 2007 21:39:11 -0300 From: Fernando Schapachnik To: freebsd-fs@freebsd.org Message-ID: <20070519003910.GA3254@funes.schapachnik.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OS: FreeBSD 6.2 - http://www.freebsd.org Subject: Recovering a badly broken disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 00:54:56 -0000 Hi, Please excuse if this is out of topic, but I guess is too specific for -questions. A disk with valuable data broke. The system used to perform backups in a BSD partition on the same disk. Among other things, the first sectors were damaged and a professional data recovery shop was able to recover an image of the remaining disk. I fdisk'ed as it was originally, then ran scan_ffs, which was able to found my backup partition, in mountable state. I tried to copy the ~170 MB backup tbz files to another place, but after ~70MB the kernel gives ICRC errors and the copying stops. The data recovery shop is not able to extract a better image, so my last chance is to skip the sectors with bad CRC and try bzip2recover. Unluckily, both cp and bzip2 abort on reading the faulty part. Any ideas on how to skip the faulty part and copy as much as possible? The partition in question is plain UFS1 on an ATA 80 GB disk. Thanks for any help. Fernando P. Schapachnik fernando@schapachnik.com.ar