PC Review


Reply
Thread Tools Rate Thread

How to determine the size of cylinder?

 
 
linuxquestion@yahoo.com
Guest
Posts: n/a
 
      29th Nov 2004
Dear experts,

I have a good technical question for you.

From the newsgroups:

"From: Gary Boswell ((E-Mail Removed))
Subject: Hard Drive > 500 mb FAQ

Back in ancient times computers had a limitation in the BIOS of the following:
cylinders = 1024
heads = 16
sectors = 63
* 512
-----------
or 528,482,304 bytes
Due to these limitations the maximum size of a hard drive was:
528 chkdisk mb
503 CMOS mb"


My question is:
- for a given hard drive, how can I tell the size of the cylinder?

In either Redhat, or Windows XP?

Thanks
 
Reply With Quote
 
 
 
 
Jim Macklin
Guest
Posts: n/a
 
      29th Nov 2004
Pi*R^2*H

For computers, see Google
hard drive cylinders ... diving cylinders scuba cylinders
cng compressors hydrolic cylinders hydralic cylinders cng
cylinders cng india cng nec hard drive cylinders wax
cylinders area ...
www.faber-italy.com/hard-drive-cylinders.html - 5k -
Cached - Similar pages


Hard Drive Size Barriers, In Depth ... Translation works by
dividing the number of cylinders or a hard drive by a binary
number such as 2, 4, 8 or 16, and then multiplying the
number of heads by the ...
www.dewassoc.com/kbase/hard_drives/
hard_drive_size_barriers.htm - 70k - Cached - Similar pages


The History and Development of Hard Drive Technologies ...
today still rely on this original CMOS drive type scheme ...
a problem with more than two hard drives and ... limits to
recognizing more than 1024 cylinders, 16 heads ...
www.actionfront.com/hdtech1.html - 20k - Cached -
Similar pages


What is hard disk? - A Word Definition From the Webopedia
Computer ... ... called a cylinder. For example, a typical
84 megabyte hard disk for a PC might have two platters (four
sides) and 1,053 cylinders. ...
www.webopedia.com/TERM/h/hard_disk.html - 48k -
Cached - Similar pages


BIOS Limitations ... with the "13th bit". The 13th bit is
needed to provide support for a drive having 4096 or more
cylinders. The chart below displays ...
www.seagate.com/support/kb/disc/bioslmt.html - 27k -
Cached - Similar pages


2

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| Dear experts,
|
| I have a good technical question for you.
|
| From the newsgroups:
|
| "From: Gary Boswell ((E-Mail Removed))
| Subject: Hard Drive > 500 mb FAQ
|
| Back in ancient times computers had a limitation in the
BIOS of the following:
| cylinders = 1024
| heads = 16
| sectors = 63
| * 512
| -----------
| or 528,482,304 bytes
| Due to these limitations the maximum size of a hard drive
was:
| 528 chkdisk mb
| 503 CMOS mb"
|
|
| My question is:
| - for a given hard drive, how can I tell the size of the
cylinder?
|
| In either Redhat, or Windows XP?
|
| Thanks


 
Reply With Quote
 
Bob Willard
Guest
Posts: n/a
 
      29th Nov 2004
(E-Mail Removed) wrote:

> Dear experts,
>
> I have a good technical question for you.
>
> From the newsgroups:
>
> "From: Gary Boswell ((E-Mail Removed))
> Subject: Hard Drive > 500 mb FAQ
>
> Back in ancient times computers had a limitation in the BIOS of the following:
> cylinders = 1024
> heads = 16
> sectors = 63
> * 512
> -----------
> or 528,482,304 bytes
> Due to these limitations the maximum size of a hard drive was:
> 528 chkdisk mb
> 503 CMOS mb"
>
>
> My question is:
> - for a given hard drive, how can I tell the size of the cylinder?
>
> In either Redhat, or Windows XP?
>
> Thanks


All but ancient HDs use ZBR, which means that the number of sectors on
a cylinder varies. Outer cylinders have more sectors than inner ones.
--
Cheers, Bob
 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      29th Nov 2004
The sure way is to fire up the browser and then look up the specs for
the drive in question on the manufacturers web site.

Bob Willard wrote:

> (E-Mail Removed) wrote:
>
>> Dear experts,
>>
>> I have a good technical question for you.
>> From the newsgroups:
>>
>> "From: Gary Boswell ((E-Mail Removed))
>> Subject: Hard Drive > 500 mb FAQ
>> Back in ancient times computers had a limitation in the BIOS of the
>> following: cylinders = 1024
>> heads = 16
>> sectors = 63
>> * 512
>> -----------
>> or 528,482,304 bytes Due to these limitations the maximum size
>> of a hard drive was:
>> 528 chkdisk mb
>> 503 CMOS mb"
>>
>>
>> My question is:
>> - for a given hard drive, how can I tell the size of the cylinder?
>>
>> In either Redhat, or Windows XP?
>>
>> Thanks

>
>
> All but ancient HDs use ZBR, which means that the number of sectors on
> a cylinder varies. Outer cylinders have more sectors than inner ones.


 
Reply With Quote
 
Bob Willard
Guest
Posts: n/a
 
      29th Nov 2004
Bob I wrote:
> The sure way is to fire up the browser and then look up the specs for
> the drive in question on the manufacturers web site.
>


I wish it were true, Bob I, but major HD vendors no longer publish detailed
specs online. The cursory specs tell you how many usable sectors a HD
has, but not the ZBR table of sectors/cylinder vs. cylinder.

If you know where to get those details from WDC and Seagate for current SATA
and PATA HDs, I'd be rather interested.
--
Cheers, Bob
 
Reply With Quote
 
Jean-David Beyer
Guest
Posts: n/a
 
      29th Nov 2004
Bob I wrote:
> The sure way is to fire up the browser and then look up the specs for
> the drive in question on the manufacturers web site.
>

What an interesting idea!

However, Maxtor do not tell me the number of cylinder size or the number
of cylinders on my four KU018L2 hard drives. They tell me the drives have
one disk with two heads and two recording surfaces. That there are 512
bytes per sector. Other models have 2 or 4 disks, so 4 or 8 recording
surfaces. (With my two 6Y080P0 drives, they tell me that they have 512
bytes per block, and it is logically CHS 16383/16/63, but I do not know
what that really means since they have models from 60GBytes to 200GBytes
with the same specification of logical CHS. They obviously do not take the
CHS specification very seriously.)

So clearly a cylinder has two tracks, if that is what you mean by cylinder
size. The other models have 4 track or 8 track cylinders.

But so what? How many sectors are on a track? That very clearly varies. If
I try to read an entire drive; e.g., running badblocks in verbose mode on
it, I can see that it slows down from around 57 Megabytes/second at the
outside edge to about 31 Megabytes/second at the center. So clearly the
number of sectors/track is not constant, but monotonically decreasing.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 15:45:00 up 37 days, 18:40, 3 users, load average: 4.11, 4.15, 4.10

 
Reply With Quote
 
Mark A. Odell
Guest
Posts: n/a
 
      29th Nov 2004
(E-Mail Removed) wrote in
news:(E-Mail Removed):

> Dear experts,
>
> I have a good technical question for you.
>
> From the newsgroups:
>
> "From: Gary Boswell ((E-Mail Removed))
> Subject: Hard Drive > 500 mb FAQ
>
> Back in ancient times computers had a limitation in the BIOS of the
> following:
> cylinders = 1024
> heads = 16
> sectors = 63
> * 512
> -----------
> or 528,482,304 bytes
> Due to these limitations the maximum size of a hard drive was:
> 528 chkdisk mb
> 503 CMOS mb"
>
>
> My question is:
> - for a given hard drive, how can I tell the size of the cylinder?
>
> In either Redhat, or Windows XP?


You cannot. Modern IDE drives use logical block addressing which masks the
physical layout of the disk from the user. The old CHS method is
maintained for legacy only and only allows you to use a portion of the
drive's capacity. Furthermore, the notion of Cylinder, Head, and Sector
has nothing to do with the physical disk attributes when using the CHS
values provided by the drive.

You may get some information from the disk vendor's OEM Data Sheet. For
instance, Hitachi sites varying recording zone densities for tracks along
with some other information that should allow you to determine the sectors
per track and then the sectors per cylinder. You will need to do this
off-line calculation for each model and capacity you employ as these
values may (and often do) change.

--
- Mark ->
--
 
Reply With Quote
 
Joachim Feise
Guest
Posts: n/a
 
      29th Nov 2004
Jean-David Beyer wrote on 11/29/2004 13:02:
> But so what? How many sectors are on a track? That very clearly varies.
> If I try to read an entire drive; e.g., running badblocks in verbose
> mode on it, I can see that it slows down from around 57 Megabytes/second
> at the outside edge to about 31 Megabytes/second at the center. So
> clearly the number of sectors/track is not constant, but monotonically
> decreasing.


Of course it does. There is more space on the outer tracks...
This is called zone-bit recording:
http://www.pcguide.com/ref/hdd/geom/tracksZBR-c.html

-Joe
 
Reply With Quote
 
AnonymousFC3
Guest
Posts: n/a
 
      30th Nov 2004
Dear user:
I am wondering why you need this!
On old IDE drives the CHS information was written on the disk... and was kae
anyway, but useful for BIOS setting.

For a long time (over 10 years) IDE/ATA has a query command to query the CHS
information: the host can request and get this info from the disk.

There even was a command to change it (YES!).

Today, the data is accessed by LBA (logical block address).
A logical block is still often 512 bytes of data, but in my opinion it
should be bumped to a higher number, like 2k (2048 bytes).

So you really do not need to know the number of CHS on your disk excepted
for curiosity.
----

(E-Mail Removed) wrote:
> Dear experts,
> I have a good technical question for you.


 
Reply With Quote
 
Lew Pitcher
Guest
Posts: n/a
 
      30th Nov 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(E-Mail Removed) wrote:
> Dear experts,

[snip]
> - for a given hard drive, how can I tell the size of the cylinder?


For the purposes of partition placement, fdisk will tell you the 'size of the
cylinder' of any installed hard drive

~ $ sudo /sbin/fdisk -l /dev/hda

Disk /dev/hda: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Or, you can examine the contents of /proc/ide/<drive_id>/geometry

~ $ cat /proc/ide/hda/geometry
physical 39703/16/63
logical 2491/255/63



- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBq+GRagVFX4UWr64RArwgAJoDCqbdzil93NAmM2f24jU8TVTiVwCgjAeX
iOH3RBYqnpBpPK4zmct9+nk=
=Kqi7
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine directory size? speedy_mike Windows XP General 5 21st Oct 2007 06:00 PM
how to determine the size of the sheet Harald Staff Microsoft Excel Discussion 6 30th Mar 2007 03:06 AM
Determine size of listbox Jasper Microsoft Excel Misc 3 18th Apr 2006 10:38 PM
C: Partition Size & BIOS 1024 Cylinder Limit Alan C. Brown Windows XP General 6 27th Apr 2004 02:05 PM
transferspreadsheet - how to determine size on the fly Al Microsoft Access VBA Modules 2 2nd Oct 2003 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:47 AM.