home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aux / 2943 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  3.3 KB

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