Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2004-12-12 16:08:27
Size: 546
Editor: anonymous
Comment:
Revision 5 as of 2005-07-24 01:12:04
Size: 1523
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Partitioning is a means to divide a single hard drive into many logical drives. A partition is a contiguous set of blocks on a drive that are treated as an independant disk. A partition table  is an index that relates sections of the hard drive to partitions. Partitioning is a means to divide a single hard drive into many logical drives. A partition is a contiguous set of blocks on a drive that are treated as an independent disk. A partition table is an index that relates sections of the hard drive to partitions.
Line 4: Line 4:
==== Definitions ====
 * Primary partition - A disk can have up to 4 primary partitions. It cannot have more that 4 due to limitations of the disk primary partition table. To get around this limitation, an extended partition may be used.
 * Extended partition - A special primary partition that is subdivided into logical partitions. There can be no more than 1 extended partition on a disk.
 * Logical partition - A partition residing on an extended partition

==== Partition Naming ====
{{{
   /dev/hda1 The 1st primary partition
   /dev/hda2 The 2nd primary partition
   /dev/hda3 The 3rd primary partition
   /dev/hda4 An extended partition
   /dev/hda5 The 1st logical partition
   /dev/hda6 The 2nd logical partition
   etc...
}}}

In this example, /dev/hda4 is the extended partition. All the logical partitions reside on an extended partition.

=== See Also ===
 * DiskPartitioning
 * ["Fdisk"]
 * ["SoftwareRAID"] on debian

=== External Links ===
Line 7: Line 31:
 * ["Fdisk"]

Partitioning is a means to divide a single hard drive into many logical drives. A partition is a contiguous set of blocks on a drive that are treated as an independent disk. A partition table is an index that relates sections of the hard drive to partitions.

Definitions

  • Primary partition - A disk can have up to 4 primary partitions. It cannot have more that 4 due to limitations of the disk primary partition table. To get around this limitation, an extended partition may be used.
  • Extended partition - A special primary partition that is subdivided into logical partitions. There can be no more than 1 extended partition on a disk.
  • Logical partition - A partition residing on an extended partition

Partition Naming

   /dev/hda1      The 1st primary partition
   /dev/hda2      The 2nd primary partition
   /dev/hda3      The 3rd primary partition
   /dev/hda4      An extended partition
   /dev/hda5      The 1st logical partition
   /dev/hda6      The 2nd logical partition
   etc...

In this example, /dev/hda4 is the extended partition. All the logical partitions reside on an extended partition.

See Also