Date: Thu, 24 Feb 2005 18:30:29 -0600 From: Vulpes Velox <v.velox@vvelox.net> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: freebsd-fs@freebsd.org Subject: Re: badsect Message-ID: <20050224183029.4617e852@vixen42.local.lan> In-Reply-To: <8879.1109263777@critter.freebsd.dk> References: <53844.194.225.42.20.1109263952.squirrel@ce.sharif.edu> <8879.1109263777@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Feb 2005 17:49:37 +0100 "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote: > In message <53844.194.225.42.20.1109263952.squirrel@ce.sharif.edu>, > falaki@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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224183029.4617e852>