badsect
Vulpes Velox
v.velox at vvelox.net
Fri Feb 25 00:31:19 GMT 2005
On Thu, 24 Feb 2005 17:49:37 +0100
"Poul-Henning Kamp" <phk at phk.freebsd.dk> wrote:
> In message <53844.194.225.42.20.1109263952.squirrel at ce.sharif.edu>,
> falaki at ce.s harif.edu writes:
> >Hello;
> >
> >I have a hard disk that seems to have some limitted number of bad
> >sectors. I want to use badsect to avoid these errors.
> >
> > ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=27546816
> > ad0: FAILURE - READ_DMA timed out
> >
> >I tried this:
> >
> > #badsect /mnt/data 27546816
> >
> >and got:
> >
> > block 27546816 out of range of file system
> > don't forget to run fsck ...
> >
> >What should I do?
>
> You should let your disk deal with it.
>
> Try booting single user and:
>
> dd if=/dev/ad0 of=/dev/null bs=1m
>
> and see how much damage there actually is.
>
> If there is much damage, you may want to use
> src/tools/tools/recoverdisk
> instead
Hmm, when might this make it into releng_5?
More information about the freebsd-fs
mailing list