Re: Is there way to get filename for specific LBA?

2011-09-02 Thread Marcin Wisnicki
On Wed, 31 Aug 2011 20:50:18 -0700, Carl Johnson wrote: It looks like the best bet would be fsdb, assuming that it is a UFS file system. That does have a 'findblk' command to find a file containing a block, but you would need to calculate the block offset in the filesystem first. It

Re: Is there way to get filename for specific LBA?

2011-09-01 Thread Doug Hardie
On 31 August 2011, at 20:50, Carl Johnson wrote: per...@pluto.rain.com writes: Robert Bonomi bon...@mail.r-bonomi.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 ... I looked at bsdlabel a it's partition f, /home. But what

Re: Is there way to get filename for specific LBA?

2011-09-01 Thread Polytropon
On Wed, 31 Aug 2011 20:50:18 -0700, Carl Johnson wrote: per...@pluto.rain.com writes: One current userland utility (other than fsck) which does know how to grovel through the metadata and index blocks is dump(8), but you'd have to hack on it to report which inode was using a particular

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread perryh
Ross basarev...@gmail.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 That message is reporting a problem in communication between the drive and the controller (or, perhaps, between the controller and main memory), not a problem

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread Ross
On Wed, Aug 31, 2011 at 4:11 PM, per...@pluto.rain.com wrote: Ross basarev...@gmail.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 That message is reporting a problem in communication between the drive and the controller (or,

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Tue Aug 30 22:14:58 2011 Date: Wed, 31 Aug 2011 06:11:24 +0300 From: Ross basarev...@gmail.com To: freebsd-questions@freebsd.org Subject: Is there way to get filename for specific LBA? Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Wed Aug 31 13:27:07 2011 Date: Wed, 31 Aug 2011 13:26:27 -0500 (CDT) From: Robert Bonomi bon...@mail.r-bonomi.com To: basarev...@gmail.com, freebsd-questions@freebsd.org Cc: Subject: Re: Is there way to get filename for specific LBA? From

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread perryh
Ross basarev...@gmail.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 ... What does ??egrep 'ad[0-9]|ata' /var/run/dmesg.boot report? atapci0: Intel ICH7 SATA300 controller port

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread perryh
Robert Bonomi bon...@mail.r-bonomi.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 ... I looked at bsdlabel a it's partition f, /home. But what is the file name? There's *no* easy way to find out. You'll have to grovel

Re: Is there way to get filename for specific LBA?

2011-08-31 Thread Carl Johnson
per...@pluto.rain.com writes: Robert Bonomi bon...@mail.r-bonomi.com wrote: Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=107491647 ... I looked at bsdlabel a it's partition f, /home. But what is the file name? There's *no* easy way to