Date: Sat, 1 Feb 2003 01:22:53 +0100 (CET) From: Marc Schneiders <marc@schneiders.org> To: <questions@freebsd.org> Subject: How to map bad sectors on IDE? Message-ID: <20030201005939.G51460-100000@voo.doo.net>
next in thread | raw e-mail | index | archive | help
Recently a cvsup failed because of an input/output error in the directory /usr/src/contrib/perl5/h2pl. I tried deleting the content of the directory, and found out there were hardware problems with the disk. For it says: ls: eg: Input/output error And in the console messages: Feb 1 00:50:10 zeist /kernel: ad0s1h: hard error reading fsbn 99107103 of 27000944-27000959 (ad0s1 bn 99107103; cn 6169 tn 33 sn 39) status=59 error=40 Similar messages appear for this physical address and another one when the filesystem is checked daily at 03:00 h. This is happening for some time now (since January 18), but did not give any problems. Jan 30 03:05:54 zeist /kernel: ad0s1h: hard error reading fsbn 99107103 of 27000944-27000959 (ad0s1 bn 9 9107103; cn 6169 tn 33 sn 39) status=59 error=40 Jan 30 03:06:01 zeist /kernel: ad0s1h: hard error reading fsbn 83247423 of 19071104-19071119 (ad0s1 bn 8 3247423; cn 5181 tn 232 sn 42) status=59 error=40 I have searched Google to find a solution to mark off these two blocks/inodes (or however I should call them), so that they will not be used anymore. All I found is that this is not possible on IDE. Advise: Throw away the disk. Now this I find a bit radical :-) Esp. since the disk is about 3 years old. Any advise other than throw away the disk (or claim a new one)? Is there really no way to tell FreeBSD to discard these sectors? One more detail: Last time the machine booted it thought this of the drive: Jan 8 12:28:58 zeist /kernel: ad0: 39083MB <Maxtor 5T040H4> [79408/16/63] at ata0-master UDMA100 Thanks! -- [14] I am not a lawyer. http://logoff.org/ 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?20030201005939.G51460-100000>