Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman)
Subject: Re: Need RRD40 Disk Geometries info
Date: Fri, 30 Nov 2001 23:56:40 GMT	[thread overview]
Message-ID: <Y0VN7.1$BK1.95@news.cpqcorp.net> (raw)
In-Reply-To: u0f2fo4dkh0m2c@corp.supernews.com


  Posted to newsgroups: comp.sys.dec,alt.sys.pdp11,comp.os.vms
  Follow-ups to: comp.sys.dec

In article <u0f2fo4dkh0m2c@corp.supernews.com>, sword7@speakeasy.org writes:

:However, I mean that logical sectors, cylinders, etc. that one spiral 
:track can be broken down into.  On my OpenVMS installation CD, how I can 
:find number of LBNs when "online" and "get unit status" command are
:issued on my RQDX3 emulator?

  OpenVMS drivers can and do report a synthesized and almost entirely 
  fictional set of values to the host software for all disks, for the 
  tracks, sectors, cylinders, and related information -- these values 
  can be determined by OpenVMS based on the number of blocks reported 
  by the disk device.

  In most cases, the host software simply doesn't care about the geometry.
  OpenVMS Host-based Volume shadowing, for instance, doesn't care -- it 
  just wants the total number of blocks reported to match.

  Tools such as the Freeware rzdisk tool can be used to acquire this 
  (potentially fictionalized) information directly from a device.

    http://www.openvms.compaq.com/freeware/freeware40/rzdisk/

  OpenVMS tries to divide the tracks, cylinders, sectors and such into
  the UCB word-length fields.

  The four most common "fake" disk geometries are synthesized (by DKDRIVER
  and by DUDRIVER) as follows:

  tracks        sectors        cylinders         potential max
  UCB$B_TRACKS  UCB$B_SECTORS  UCB$W_CYLINDERS   wasted blocks
     6             4              ?                   23
    32            32              ?                 1024
    96            96              ?                 9216 
   255           255              ?                65025

  The smallest of these four that provides sufficient room for the 
  number of blocks reported by the disk device -- where ? is set to 
  the value 65534 for purposes of the test -- is used.

  Given that no CD-ROM drive connects to the RQDX3 controller and given 
  that write-locked disks (CD-ROM and other optical, and worm devices) 
  can return entirely bogus geometries to the host, the disk geometry 
  is triply fictional.


 ---------------------------- #include <rtfaq.h> -----------------------------
      For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com    
 --------------------------- pure personal opinion ---------------------------
   Hoff (Stephen) Hoffman   OpenVMS Engineering   hoffman#xdelta.zko.dec.com



  parent reply	other threads:[~2001-11-30 23:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30  0:13 Need RRD40 Disk Geometries info sword7
2001-11-30  0:38 ` glen herrmannsfeldt
2001-11-30  0:55   ` Hoff Hoffman
2001-11-30  0:55 ` Eric Smith
2001-11-30  1:21   ` Hoff Hoffman
2001-11-30  2:59     ` Eric Smith
2001-11-30 13:30   ` sword7
2001-11-30 19:57     ` glen herrmannsfeldt
2001-12-01  1:07       ` Tim Shoppa
2001-12-04 20:40         ` glen herrmannsfeldt
2001-11-30 22:21     ` Jeff Campbell
2001-11-30 23:56     ` Hoff Hoffman [this message]
2001-11-30 13:33 ` Bob Supnik
2001-11-30 18:54   ` Eric Smith
2001-11-30 19:54     ` Jeff Campbell
2001-11-30 20:54       ` a.carlini
2001-11-30 22:43         ` Jeff Campbell
2001-12-01 18:18           ` Terry Kennedy
2001-11-30 23:02       ` Bob Supnik
2001-12-01 22:01         ` Jeff Campbell
2001-12-02  1:35           ` Jeff Campbell
2001-12-01  0:06     ` Hoff Hoffman
2001-12-01  2:59   ` sword7
2001-12-01  3:21     ` Hoff Hoffman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox