home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25588 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.3 KB  |  56 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!sol.ctr.columbia.edu!eff!world!tgc
  3. From: tgc@world.std.com (Terry Carlin)
  4. Subject: Re: Bad blocks (?) on hard disk
  5. Message-ID: <C1ILDK.B6z@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. X-Newsreader: Tin 1.1 PL3
  8. References: <0760PCT@minnie.zdv.uni-mainz.de>
  9. Date: Wed, 27 Jan 1993 13:27:20 GMT
  10. Lines: 44
  11.  
  12. ckurs-2@wilbur.uni-mainz.de (Teilnehmer am C-Kurs WS 1992_93) writes:
  13. : In article <1993Jan26.200529.20973@newshub.ccs.yorku.ca>, marcf@nexus.yorku.ca (Marc G Fournier) writes:
  14. : |> In article <1993Jan26.190254.3059@sarah.albany.edu> rob@dinner.asrc.albany.edu (Robert D. Seals) writes:
  15. : |> >Hello,
  16. : |> >I just got sls from tsx-11 today, and prepared things and dove
  17. : |> >in to install on my hard disks.
  18. : |> >
  19. : |> >Things seems sensible except that bad blocks on the hard disks
  20. : |> >aren't mapped to a forwarding area. This makes installation nearly
  21. : |> >impossible, since my disks have many bad blocks. Is there
  22. : |> >an 'fsck' on the a1/a2 disks that can locate and deal with bad
  23. : |> >blocks so that I may proceed with installation? If not,
  24. : |> >what am I supposa do?
  25. : |> >
  26. : |>     mkfs -c checks and marks bad blocks
  27. : |> 
  28. : |> marc
  29. : |> 
  30. : No! It does not, but it should! Seems to me that there is a mistake in the
  31. : interpretation of the error register of the HD controller. The only secure way to
  32. : handle the bad blocks problem is to feed the bad block list to mk(e)fs. That is
  33. : what my experieces with mk(e)fs are ... As soon as I find the error, i will post
  34. : a fix for it. (But i haven't found it yet :( )
  35. : Dominik
  36. :
  37.  
  38. Well, my experiences tell me it works at least with the 1542
  39. controller.  I just got an old 20 meg SCSI drive which used to sit on
  40. a Mac.  I partitioned it and did the mkfs -c /dev/sda1 20000.  Worked
  41. well.  It found and marked ~15 bad blocks.  To test it out, I tar'ed
  42. a 60 meg disk over to the 20 meg drive until it complained about
  43. running out of space.  I then did a dd if=/dev/sda1 of=/dev/null and
  44. it went without error.  I guess I could really put it through a long
  45. repeating test, but I probably won't put anything on it that would
  46. be critical, 'cause the disk is ~5 years old and may bite the dust at
  47. any sec.
  48.  
  49.  
  50.  
  51. -- 
  52. Terry Carlin
  53. tgc@world.std.com
  54.