From: gah@ugcs.caltech.edu (glen herrmannsfeldt)
Subject: Re: Need RRD40 Disk Geometries info
Date: 4 Dec 2001 20:40:41 GMT [thread overview]
Message-ID: <9ujcc9$7m5@gap.cco.caltech.edu> (raw)
In-Reply-To: 3C07F51F.5A764665@trailing-edge.com
Tim Shoppa <shoppa@trailing-edge.com> writes:
>glen herrmannsfeldt wrote:
(snip)
>> Tracks and cylinders are never visible to the host OS on SCSI
>> disks. The only thing is the total number of blocks.
>Not strictly true - nearly all SCSI disk drives allow "mode sense"
>commands that return numbers purporting to be physical heads,
>cylinders, and sectors. With modern zoned SCSI drives, though,
>the # of sectors per cylinder is variable and the drive returns
>an "average" number.
>Few host OS's bother to pay attention to the physical geometry,
>and none should. (You do frequently run across people who believe
>that physical geometry is still important, though. Everyone's
>entitled to their own opinion, no matter how wrong they are. The
>way that BSD-derived disklabels are written is a damn shame because
>it promotes this backwards view.)
Yes. But for actual disk addressing they are not visible.
I do remember trying to come up with numbers to use with SunOS that
would satisfy the disk. In the beginning I tried to believe the
"mode sense" numbers, but not for long. I would find some nice
factors of the number of blocks and use those. Yes, it is BSD that
seems to promote that.
Though IBM OS/390 still makes if visible to the programmer. Disk
space is allocated in tracks or cylinders, and not blocks. This
is true even though the newer disks emulate physical tracks and
cylinders using a fixed block structure internally.
-- glen
next prev parent reply other threads:[~2001-12-04 20:40 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 [this message]
2001-11-30 22:21 ` Jeff Campbell
2001-11-30 23:56 ` Hoff Hoffman
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