Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 13:48:42 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        hackers@freebsd.org
Subject:   Re: Bad block -> file mapping
Message-ID:  <20060218214842.GG69162@funkthat.com>
In-Reply-To: <20060218.102145.26324437.imp@bsdimp.com>
References:  <20060218.102145.26324437.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote this message on Sat, Feb 18, 2006 at 10:21 -0700:
> 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?
> 
> I know I need to get a new disk.  In the mean time, I need to cope
> with these errors in a sane manner...

ffsrecov will do this for UFS1...  I did make ffsrecov compile on 5.x,
but w/ the complications of making it support UFS2, I abandoned it..

With a bit of work, ffsrecov.py can be taught this and handle both ufs1
and ufs2...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060218214842.GG69162>