From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,89da36e4533272c0 X-Google-Attributes: gidfdd80,public X-Google-Thread: f7344,19bd3098977abefc,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,89da36e4533272c0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-11-30 15:56:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Newsgroups: comp.sys.dec,alt.sys.pdp11,comp.os.vms Distribution: world X-Newsreader: mxrn 6.18-32B Followup-To: comp.sys.dec References: From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) Reply-To: hoffman@xdelta.zko.dec.nospam Subject: Re: Need RRD40 Disk Geometries info Message-ID: Date: Fri, 30 Nov 2001 23:56:40 GMT NNTP-Posting-Host: 16.32.80.251 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1007164600 16.32.80.251 (Fri, 30 Nov 2001 15:56:40 PST) NNTP-Posting-Date: Fri, 30 Nov 2001 15:56:40 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.sys.dec:9132 alt.sys.pdp11:3090 comp.os.vms:53473 Posted to newsgroups: comp.sys.dec,alt.sys.pdp11,comp.os.vms Follow-ups to: comp.sys.dec In article , 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 ----------------------------- For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com --------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com