home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9029 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  29 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!spool.mu.edu!umn.edu!news.cs.indiana.edu!mikes@moose.cs.indiana.edu
  3. From: "Michael Squires" <mikes@moose.cs.indiana.edu>
  4. Subject: [386BSD] Checking disk for bad blocks
  5. Message-ID: <1992Nov17.235026.1564@news.cs.indiana.edu>
  6. Organization: Indiana University, Bloomington
  7. Date: Tue, 17 Nov 1992 23:50:17 -0500
  8. Lines: 19
  9.  
  10. I'm trying to use an older drive with a fair number of bad sectors on it,
  11. a Miniscribe 660MB ESDI drive.  Running Spinrite under DOS I can lock out
  12. all of the bad/questionable sectors.  I've also been able to write a
  13. disktab entry which is accepted by disklabel/newfs.  Is there some standard
  14. method of writing data to a partition block by block and then reading it
  15. back to look for the really awful problems?  The Adaptec drivers will
  16. output the block number when there is a disk error, but the WD drivers
  17. on the dist.fs disk will only indicate that there is an error.
  18.  
  19. I can use the information from Spinrite to input to bad144, but that will
  20. lose 140MB as DOS can't handle the real drive parameters (over 1024 cylinders).
  21.  
  22. Doing something like "cat /dev/wd0a > /dev/null" does not seem to find the
  23. problem blocks, although they show up quickly when trying to extract files.
  24.  
  25. -- 
  26.  
  27. Mike Squires (mikes@iuvax.cs.indiana.edu)     812 855 3974 (w) 812 333 6564 (h)
  28. mikes@iuvax.cs.indiana.edu          546 N Park Ridge Rd., Bloomington, IN 47408
  29.