Calculating Hard Disk Size

I have a Seagate 1000GB SATA hard drive. The logical geometry of the hard drive is 16,383 cylinders, 16 heads and 63 sectors per track.

To my knowledge,

Capacity = Number of cylinders × number of heads × sectors/track × 512 = hard disk size (bytes)

For my specific hard disk my calculations are:

16,383 * 16 * 63 * 512 = 8455200768 bytes ~ 8.5gb it's too small comparing with original value.

Does anybody know where I'm going wrong here?

3

1 Answer

Forget CHS. Since LBA has come into play the physical geometry of a disk bares no relation to its actual geometry. The CHS geometry you mention is reported mainly to maintain legacy compatibility.

It is possible with some disks (and again, not in every situation) to map CHS to LBA, see:

Also check out at fdisk's 'x' mode display, it shows the uninterpreted sizes

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like