*BSD News Article 78129


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!news.sgi.com!enews.sgi.com!news.mathworks.com!news.kei.com!news.texas.net!newsfeed.concentric.net!news-master!not-for-mail
From: Dantso@cris.com (Dan Tso)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Bad sector  (HELP) ?
Date: 12 Sep 1996 03:44:25 GMT
Organization: Concentric Internet Services
Lines: 18
Message-ID: <5180up$gbo@herald.concentric.net>
NNTP-Posting-Host: voyager.cris.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

	I am running FreeBSD 2.1 from an Adaptec 2940 SCSI controller.
	Recently I am finding messages like these in /var/log/messages:

Sep 11 20:02:44 dnn /kernel: sd0(ahc0:0:0): MEDIUM ERROR info:208003 asc:11,0 Un
recovered read error sks:80,1e
Sep 11 20:02:47 dnn /kernel: , retries:4

	I assume it means that my root disk has a bad sector on it. How do I
determine (decode) which partition (slice) it is on, which sector it is.
Are there tools in FreeBSD to remap that sector on the fly or must I reformat
the disk ? What is the best thing to do ?
	Thanks.
			Cheers,
			Dan Ts'o			212-327-7671
			Dept. of Neurobiology	   FAX: 212-327-7671
			The Rockefeller University
			1230 York Ave.  Box 138	     dantso@cris.com
			New York, NY  10021	     dan@dna.rockefeller.edu