Date: Wed, 28 Oct 1998 13:46:40 -0500 (EST) From: Robert Watson <robert@cyrus.watson.org> To: Doug White <dwhite@resnet.uoregon.edu> Cc: questions@FreeBSD.ORG Subject: Re: Finding a file with a specific block Message-ID: <Pine.BSF.3.96.981028134527.28538A-100000@fledge.watson.org> In-Reply-To: <Pine.BSF.4.03.9810281029020.29272-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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<rdy,seekdone,drq,err> error 40<uncorr> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981028134527.28538A-100000>