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?
31 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