From owner-freebsd-questions@FreeBSD.ORG Wed Nov 8 14:22:56 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 176CA16A40F for ; Wed, 8 Nov 2006 14:22:56 +0000 (UTC) (envelope-from mdhughes_us@hotmail.com) Received: from pop-altamira.atl.sa.earthlink.net (pop-altamira.atl.sa.earthlink.net [207.69.195.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9185343D5A for ; Wed, 8 Nov 2006 14:22:55 +0000 (GMT) (envelope-from mdhughes_us@hotmail.com) Received: from dialup-4.245.75.202.dial1.stlouis1.level3.net ([4.245.75.202] helo=logcabin.hem.com) by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1GhoKL-0005o8-00 for freebsd-questions@freebsd.org; Wed, 08 Nov 2006 09:22:54 -0500 Received: from logcabin.hem.com (logcabin.hem.com [192.168.36.1]) by logcabin.hem.com (8.12.8p1/8.12.8) with ESMTP id kA8EMohD063364 for ; Wed, 8 Nov 2006 08:22:51 -0600 (CST) (envelope-from mdhughes_us@hotmail.com) Date: Wed, 8 Nov 2006 08:22:50 -0600 From: Michael Hughes To: freebsd-questions@freebsd.org Message-ID: <20061108082250.7f7a5094@logcabin.hem.com> In-Reply-To: <6.0.0.22.2.20061108071925.024c80f0@mail.computinginnovations.com> References: <200611060153.kA61rLNt026020@banyan.cs.ait.ac.th> <200611080524.kA85OKN2068574@banyan.cs.ait.ac.th> <6.0.0.22.2.20061108071925.024c80f0@mail.computinginnovations.com> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.0; i386-unknown-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-26.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Mailman-Approved-At: Wed, 08 Nov 2006 18:07:26 +0000 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 14:22:56 -0000 On Wed, 08 Nov 2006 07:20:23 -0600 Derek Ragona wrote: > If the drive has a physical failure in the mechanism or media, you > may need to send it off to ontrack and have them try to recover the > data. > > -Derek > > At 11:24 PM 11/7/2006, Olivier Nicole wrote: > > > > 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 Try it with this command: dd if=/dev/da0s1 of=/somefile conv=noerror,sync -- Michael D Hughes Loghome living is the best! Michael@TheHughesLogcabin.net