Re: XP Partition size

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alex Nichol (alexn.mvpdts_at_ntlworld.delete.com)
Date: 09/11/04


Date: Sat, 11 Sep 2004 11:05:53 +0100

Steve N. wrote:

>
>Number of cylinders
>Number of blocks per cylinder
>Number of sectors per block

Blocks per cylinder is not a basic. A multi-platter hard disk has
Cylinders, defined by position of heads radially; 'Heads' or tracks,
(one on each platter) and sectors (512 bytes each, along the track).
On a modern HD the number of sectors per track varies according to
length of track - increasing by zones as you go out from the middle.

This CHS direct description puts very awkward limits on things. As
defined you cannot have more than 1024 heads, but can have 64 tracks -
implying 32 dual sided platters, which you never meet in a PC drive. So
for practical purposes addressing is now done in sector number from the
start. But there is still seen to be a logical head and sector number
around when you are partitioning and the partitioning software makes
partitions aligned on these logical cylinder boundaries; every 8MB.
This is sorted out to an actual cylinder, track and sector by the
drive's own electronics

This being called Logical Block addressing (LBA) *may* be what you are
thinking of, but it is *not* a division used in the underlying hardware:
certainly not in the sense of being some multiple of sector. Or
Someone may be using 'block' where everyone else still uses 'track' .

   Or you *may* be using 'blocks' where anyone else uses 'clusters' -
the 'allocation units' of typically 8 sectors (4K bytes) for allocating
space to files in a file system - this is *not* related to partitioning
at all. .

-- 
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K.  Alexn@mvps.D8E8L.org (remove the D8 bit)


Relevant Pages

  • Re: OT: Little Disk Storage Mystery
    ... Some partitioning software puts recovery data (e.g. ... backup MBR) in the last three sectors of track 0. ... Win7 DVD installs to unformatted HD. ... program just wants to align partitions to cylinder boundaries. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Int 13h extensions
    ... So 15 indeed means 15 heads, ... A CHS address is made up of three fields: the sector number, the head number, and the cylinder number. ... Sectors are numbered from 1 to the maximum value allowed by the current CHS translation but shall not ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: When does `write return?
    ... the write could return as soon as the data get to a memory buffer. ... > But the hardware controller for the disk drives allowed you to read any ... > per cylinder and 20 sectors per track. ... > the whole cylinder and do an automatic seek with no intervention from the OS ...
    (comp.os.linux.misc)
  • Re: Disk geometry from /sys
    ... Many compact flash cards will report 16 heads, and 16 or 32 sectors ... Simplest way to find out what geometry a disk pretents to have is to ask ... Why do you want to know what cylinder size the hard disk pretents to ...
    (Linux-Kernel)
  • Re: sector and cylinder Information
    ... and cylinder of the hard disk. ... for example the number of sectors in a partition or the first cylinder ... // size of output buffer ...
    (microsoft.public.win32.programmer.kernel)