From owner-freebsd-hackers Mon Feb 17 04:11:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA11324 for hackers-outgoing; Mon, 17 Feb 1997 04:11:26 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA11317 for ; Mon, 17 Feb 1997 04:11:20 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id WAA11151; Mon, 17 Feb 1997 22:40:49 +1030 (CST) From: Michael Smith Message-Id: <199702171210.WAA11151@genesis.atrad.adelaide.edu.au> Subject: Re: File system/disk recovery tools ? In-Reply-To: <199702171021.LAA02229@labinfo.iet.unipi.it> from Luigi Rizzo at "Feb 17, 97 11:21:52 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Mon, 17 Feb 1997 22:40:48 +1030 (CST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo stands accused of saying: > one of our IDE disks failed (btw these WDC AC31600H are particularly > bad, we have had at least 10 failed units out of about 20; luckily > they come with a 3 yr guarantee!) Hmm, we had one die on us too, similar errors. > labinfo2# fsck /dev/wd2a > ** /dev/rwd2a > > CANNOT READ: BLK 16 > CONTINUE? [yn] y > > Feb 17 12:02:54 labinfo2 /kernel: wd2a: hard error reading fsbn > 17 of 16-31 (wd2 bn 17; cn 0 tn 0 sn 17)wd2: status > 59 error 40 > Feb 17 12:03:01 labinfo2 /kernel: wd2a: hard error reading fsbn > 17 (wd2 bn 17; cn 0 tn 0 sn 17)wd2: status 59 > error 40 > ... > > THE FOLLOWING DISK SECTORS COULD NOT BE READ: 17, 18, 19, 20, 21, 22, > 25, 29, 30, 31, > Floating exception (core dumped) > > is there any way/tool to recover the data on the disk ? dd the whole disk off onto a file and mount it on a vnode? You might have to reconstruct the label and such, and using fsck's '-b' option may also be required. It kinda depends on whats actually wrong with the disk. > Luigi -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[