From owner-freebsd-questions@FreeBSD.ORG Wed Nov 8 05:24:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 405EB16A403 for ; Wed, 8 Nov 2006 05:24:22 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD3443D6D for ; Wed, 8 Nov 2006 05:24:19 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id kA85NLc1020871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Nov 2006 12:23:21 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id kA85OKN2068574; Wed, 8 Nov 2006 12:24:20 +0700 (ICT) Date: Wed, 8 Nov 2006 12:24:20 +0700 (ICT) Message-Id: <200611080524.kA85OKN2068574@banyan.cs.ait.ac.th> From: Olivier Nicole To: illoai@gmail.com In-reply-to: (illoai@gmail.com) References: <200611060153.kA61rLNt026020@banyan.cs.ait.ac.th> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Reading crashed SCSI disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 05:24:22 -0000 > > I am wondering if there is a way to read the physical blocks (those > > that are readable) and save the data, from that I could be able to > > rebuild some of the mailboxes. > > dd if=/scsi_drive of=/some/file/name > > Should read anything readable, though without bs=xxx it may be > quite slow. You can usually then mount the file via mdconfig(8). > If the partition table is intact you can specify that instead of the > whole disk. This can make the fiddly bit with trying to figure out > exactly what part will mount under md(4). I tried dd if=/dev/da0s1 of=/somefile dd stopped after a short while with I/O error, after a number of SCSI reading errors. best regards, Olivier