home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf.sub.org!news
- From: urlichs@smurf.sub.org (Matthias Urlichs)
- Newsgroups: comp.unix.aux
- Subject: Re: LONG ravings about disk geometry. (was: Re: /etc/disktab entry for Quantum LP240S)
- Date: 25 Jul 1992 23:49:47 +0200
- Organization: University of Karlsruhe, FRG
- Lines: 63
- Message-ID: <14si9rINNlpp@smurf.smurf.sub.org>
- References: <Conrad_Nobili-190792001549@c50mac2.harvard.edu> <1992Jul20.065639.13594@panix.com> <Conrad_Nobili-200792212445@c50mac2.harvard.edu>
- NNTP-Posting-Host: 127.0.0.1
-
- In comp.unix.aux, article <Conrad_Nobili-200792212445@c50mac2.harvard.edu>,
- Conrad_Nobili@Harvard.EDU (Conrad C. Nobili) writes:
- < In article <1992Jul20.065639.13594@panix.com>, alexis@panix.com (Alexis
- < Rosen) wrote:
- < > Conrad_Nobili@Harvard.EDU (Conrad C. Nobili) writes:
- <
- < > Hm, the "8 Cylinders" must mean 8 platters. With only 13 heads, and assuming
- < > one servo head, I don't know what the other disk would be for. Parity? I
- < > don't think that's it...
- <
- < Ah, see? This is exactly the kind of thing that bugs me!
- < How *do* we explain that extra platter?
- <
- Some disks don't have heads on the "outside" surfaces.
-
- < > So the total number of tracks is Heads (13) times Cylinders (2051), or
- < > 26663. And the number of sectors per track is therefore Sectors (2054864)
- < > divided by Tracks (26663), or 77.068, which (since it must be a whole number)
- < > rounds down to 77.
- <
- < Yeah, good! That (77) is the number I had come up with too,
- < but I just wanted to believe it more. I don't get much of a
- < warm fuzzy from the numbers behind the decimal point though.
-
- Many if not all newer disks use a variable number of sectors per track.
- This makes sense because on the disk's outside, the speed is faster so you
- can record more bits (given the same bits/inch density). A non-HD Mac floppy
- works the same way, but reduces the rotational speed instead of increasing
- the data rate at the head.
-
- This means that getting the numbers exactly right is next to
- impossible. You'll have to start partitions at the boundaries
- where the track densities change. You can use the MODE SENSE
- SCSI-2 command to ask the disk about the block positions where the
- density changes (mode page 0C) if the disk supports it.
-
- < Shouldn't *all* of the values we deal with here be natural
- < numbers? Or, going the other way, if there are indeed 77
- < blocks (sectors) per track, 2051 tracks per surface, and 13
- < surfaces per disk, shouldn't there be 77 * 2051 * 13 = 2053051
- < sectors per disk?
-
- The disk itself also uses a few sectors for housekeeping -- the mode
- parameters have to be stored _somewhere_ -- and for bad sector or bad
- track reallocation. These are obviously not included in the block cound which
- is returned by READ CAPACITY.
-
- < I am usually pretty good at figuring out net acronyms the first
- < time I see them, but I am not sure I can get WAG. Wondering
- < And Guessing, perhaps? There, that last sentence is a WAG!
- <
- Wild Ass Guess. Hence SWAG, Scientific Wild Ass Guess.
-
-
- Did anybody do any real tests (under A/UX, single-user mode!) whether
- getting the disktab entry correct actually improves performance?
- I tend to doubt it.
-
- --
- One Bell System - it works.
- --
- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
-