Date: Mon, 14 Jan 2002 09:49:46 -0600 From: "Mike Meyer" <mwm-dated-1011455386.9ac15d@mired.org> To: "Matthew Rudderham" <cfxu690@hotmail.com> Cc: questions@freebsd.org Subject: Re: Reapiring bad blocks w/ fschk Message-ID: <15426.65050.225532.538913@guru.mired.org> In-Reply-To: <60693838@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Rudderham <cfxu690@hotmail.com> types: > Hi, > On a box I have running 4.3-Release I have been getting these messages every > so often: > > Jan 11 20:47:11 cfxu /kernel: ad0s1a: hard error reading fsbn 58622143 of > 2162752-2162767 (ad0s1 bn 58622143; cn 37220 tn 10 sn 13) status=59 error=40 > > I assume a few bad sectors have developed on the disk. When trying to > install packages I'm often getting messages related to not being able to > write within /var/ such as mktemp /var/tmp failed and could not add to > /var/db/pkg/... Etc so I assume these are where the bad blocks have > developed. I was wondering how I can mark these blocks as unusable so I can > continue to use the system until I get a replacement drive. Also when > running fsck normally it does show a few blocks it could not read from. Any > help would be very appreciated, the fsck manual was not much help and the > archives of -questions seems to be out of order. Many Thanks. fsck can't do what you want. I don't know that anything can on FreeBSD. Modern drives tend to deal with bad blocks all by themselves, so if the kernel is seeing them, it means the drive is in sad shape, and should be replaced ASAP. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15426.65050.225532.538913>