home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4079 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!Germany.EU.net!bs
  2. From: bs@Germany.EU.net (Bernard Steiner)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: 2nd drive file ... (Actually wd ESDI problems)
  5. Date: 13 Aug 1992 11:05:49 GMT
  6. Organization: EUnet Backbone, Dortmund, Germany
  7. Lines: 40
  8. Distribution: world
  9. Message-ID: <16dfmeINN3u7@disaster.Germany.EU.net>
  10. References: <Bsp5D6.B9p@obiwan.uucp> <165f2uINN6an@disaster.Germany.EU.net> <tih.713450893@barsoom> <193@asgard.mlb.dmt.csiro.au>
  11. NNTP-Posting-Host: walhalla.germany.eu.net
  12.  
  13. In article <193@asgard.mlb.dmt.csiro.au>, mjj@mlb.dmt.csiro.au (Murray Jensen) writes:
  14. > tih@barsoom.nhh.no (Tom Ivar Helbekkmo):
  15. > > bs@Germany.EU.net (Bernard Steiner) writes:
  16. > >>I noticed that with my ESDI drives I had to give disklabel one cylinder less
  17. > >>than what the physical drive parameters are...
  18. > > I thought of this too, but I've tried reducing the number of available
  19. > > cylinders to about a fourth of the real number with no improvement...
  20.  
  21. The *instructions* for my second drive claim it's got 969 cyls of which 967
  22. are "user accessible" - hmm. I allocated 968...
  23.  
  24. > Now on to my problem: someone posted about using dd on the block device to
  25. > find out where the bad sectors are.
  26. [...]
  27. > (Trick - use the
  28. > following: "dd if=/dev/wd0c of=/dev/null bs=512 conv=sync,noerror" and you
  29. > will get all the bad blocks in one hit
  30. [...]
  31. > However, fsck would still fail - quite badly too - obviously because there
  32. > were still bad sectors on the disk. But I had not got any errors from dd on
  33. > the block device, so I tried fsck on the block device and it ran through
  34. > perfectly!
  35.  
  36. Well, I don't have DOS. However, I noticed that dd'ing off 386bsd pertitions
  37. will not find all bad blocks, whereas dd'ing off the 'd' 'partition' does.
  38.  
  39. BTW did your kernel actually print out the bad sectors or are you using a
  40. modified kernel ? If it's the standard thing it does, would you mind
  41. telling us about any magic flags you gave disklabel.
  42.  
  43. Thanks
  44.  
  45. Bernard
  46. -- 
  47. Bernard Steiner, FB Informatik/IRB, Uni Dortmund,    vox +49 231 755 2444
  48. Postfach 500500, D-W-4600 Dortmund 50, Germany       fax +49 231 755 2386
  49. bs@Germany.EU.net          ...!uunet!unido!bs
  50.  
  51. *III  And they gave it Instructions, but knew it not. } From The Book of Nome,
  52. *IV   It is, they said, a Box with a Funny Voice.     }      Mezzanine v.III-IV
  53.