Bad block -> file mapping

Markus Trippelsdorf markus at trippelsdorf.de
Sat Feb 18 10:01:17 PST 2006


On Sat, Feb 18, 2006 at 10:21:45AM -0700, M. Warner Losh wrote:
> I have a hard disk that's been in service a long time.  I recently
> installed the SMART monitoring tools.  On occasion, I get reports of
> LBAs it can't read.  I'd like to map the LBA to an actual file in the
> file system, if possible.  Does anybody have any tools that can help
> me with this?

http://smartmontools.sourceforge.net/BadBlockHowTo.txt
might be helpful. (of course you have to adapt the (Linux-)instructions to
FreeBSD)

-- 
Markus


More information about the freebsd-hackers mailing list