From owner-freebsd-questions Wed Oct 28 10:48:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29422 for freebsd-questions-outgoing; Wed, 28 Oct 1998 10:48:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fledge.watson.org (COPLAND.CODA.CS.CMU.EDU [128.2.222.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA29393 for ; Wed, 28 Oct 1998 10:47:45 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id NAA28549; Wed, 28 Oct 1998 13:46:40 -0500 (EST) Date: Wed, 28 Oct 1998 13:46:40 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Doug White cc: questions@FreeBSD.ORG Subject: Re: Finding a file with a specific block In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Oct 1998, Doug White wrote: > > I have a remote server running 2.2-stable from a month or so ago. It > > has a number of bad sectors on an old IDE hard disk in it, and I had > > thought I had gotten them all with files in /usr/BAD. > > > > Recently I got the following log message while attempting to make > > installworld remotely: > > > > Oct 23 14:31:34 thithle /kernel: wd0s1f: hard error reading fsbn 665227 of > > 665220-665227 (wd0s1 bn 1054347; cn 1045 tn 15 sn 42)wd0: status > > 59 error 40 > > Oct 23 14:31:35 thithle /kernel: spec_getpages: I/O read error > > Oct 23 14:31:35 thithle /kernel: vm_fault: pager input (probably hardware) > > error, PID 8527 failure > > Oct 23 14:31:35 thithle /kernel: pid 8527 (install), uid 0: exited on > > signal 11 (core dumped) > > Your disk is dying; replace it while you can still read it. It's only > going to get worse. Ah, but I assert that: 1) It is an old drive -- the kind that comes with bad sectors 2) This bad sector already exists, I just didn't delete the original file using its block, and now I want to find it. Which of course still leaves the question: given a block number and a partition, how can I find the file or directory using that block? Robert N Watson Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org http://www.watson.org/~robert/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message