*BSD News Article 4908


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!usc!chaph.usc.edu!aludra.usc.edu!not-for-mail
From: eddy@aludra.usc.edu (George Edmond Eddy)
Newsgroups: comp.unix.bsd
Subject: IDE and bad sectors.
Date: 11 Sep 1992 16:25:10 -0700
Organization: University of Southern California, Los Angeles, CA
Lines: 26
Message-ID: <18r9smINNdan@aludra.usc.edu>
NNTP-Posting-Host: aludra.usc.edu

How does one deal with bad sectors on an IDE hardrive?  

After I had done the disklabel and newfs on a conners 3204, the 
disklabel showed a bad sector map (paraphrase) in the flags field
and went into the endless reboot cycle.  i used disklabel -e to
clear the flags field, and everything proceeded fine, (this,
however is wrong!).  It was suggested that i run bad144, however
i read the INSTALL.NOTES and know not to do this!  

Now i suffer from magically corrupting cp, rm and mv commands.
I will rebuild the commands mv 'em into bin, everything is fine
for a while, then WHAM! they start core dumping, (in the call to
rindex).  i'll do a diff on the versions in the build directory
vs. those in /bin, and diff claims there are differences????

So will some kind soul illuminate me as to how to handle bad sectors
on an IDE drive?  or should that flag be showing up at all???

thank you!

- rusty


eddy@usc.edu
rusty@kirra.ema.rockwell.com