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