home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5659 < prev    next >
Encoding:
Text File  |  1992-09-13  |  2.4 KB  |  73 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!munnari.oz.au!uniwa!cujo!colin
  3. From: colin@cs.curtin.edu.au (Colin Manning)
  4. Subject: Re: IDE and bad sectors.
  5. Message-ID: <colin.716432674@marsh>
  6. Sender: news@cujo.curtin.edu.au (News Manager)
  7. Organization: Curtin University of Technology
  8. References: <18r9smINNdan@aludra.usc.edu>
  9. Date: Mon, 14 Sep 1992 01:04:34 GMT
  10. Lines: 61
  11.  
  12. eddy@aludra.usc.edu (George Edmond Eddy) writes:
  13.  
  14. >How does one deal with bad sectors on an IDE hardrive?  
  15.  
  16. >After I had done the disklabel and newfs on a conners 3204, the 
  17. >disklabel showed a bad sector map (paraphrase) in the flags field
  18. >and went into the endless reboot cycle.  i used disklabel -e to
  19. >clear the flags field, and everything proceeded fine, (this,
  20. >however is wrong!).  It was suggested that i run bad144, however
  21. >i read the INSTALL.NOTES and know not to do this!  
  22.  
  23. >Now i suffer from magically corrupting cp, rm and mv commands.
  24. >I will rebuild the commands mv 'em into bin, everything is fine
  25. >for a while, then WHAM! they start core dumping, (in the call to
  26. >rindex).  i'll do a diff on the versions in the build directory
  27. >vs. those in /bin, and diff claims there are differences????
  28.  
  29. >So will some kind soul illuminate me as to how to handle bad sectors
  30. >on an IDE drive?  or should that flag be showing up at all???
  31.  
  32. I had the same problem.  I got no resopnce, so I went about it *MY* way.  It
  33. may not be the best, but it works.
  34.  
  35. I had three bad sectors.
  36.  
  37. 1)  File the hard disk with files of 10Meg, marking the files that cover bad
  38. sectors.
  39.  
  40. 2)  Delete one of the files that has bad sectors.
  41.  
  42. 3)  file the hard disk with files 1/10 the size of the previous file.
  43.  
  44. 4)  repeat steps 2 and 3 until you have sufficently small files.
  45.  
  46. NOTE:  I did this from a directory called HARDERRORS, and named the files by
  47. the sector number that was bad in it, and removed rw permissions
  48. from all three files AND the directory.  I know this doesn't stop root 
  49. accidently removing them, but who logs in as root all the time anyway?
  50.  
  51. I think I got each of my bad sector files down to 512 bytes.  It took some
  52. time to do (4 hours I think), but saved frustration later.
  53.  
  54. If someone has a better idea PLEASE let me know.
  55.  
  56. >thank you!
  57. Hope it helps.
  58.  
  59. >- rusty
  60.  
  61.  
  62. >eddy@usc.edu
  63. >rusty@kirra.ema.rockwell.com
  64.  
  65. Colin.
  66.  
  67.  
  68. --
  69. Colin [colin@cs.curtin.edu.au]
  70.  
  71. "Knowledge is not knowing all the answers, but knowing where to find them."
  72.                                                                   -anon.
  73.