Partition Types

From Linux Raid Wiki
(Difference between revisions)
Jump to: navigation, search
(partition type info)
 
m (Entire Devices or Partitions)
Line 15: Line 15:
 
* no performance impact
 
* no performance impact
  
Neil, the md/mdadm author uses whole disks.
+
Neil, the md/mdadm author, uses whole disks.
  
 
==What Partition Type==
 
==What Partition Type==

Revision as of 21:02, 14 October 2008

Arrays are built on top of block devices; typically disks.

This leads to 2 frequent questions:

  • Should I use entire device or a partition?
  • What partition type?

There is no right answer - you can choose.

Entire Devices or Partitions

Your editor prefers to use partitions that are slightly smaller than a device. This allows:

  • the device has a partition table - no 'partition table not found'
  • replacement disks even of the same model are often slightly smaller and making the partition 100Mb smaller than the device allows some tolerance.
  • no performance impact

Neil, the md/mdadm author, uses whole disks.

What Partition Type

If you are using partitions then there are only 2 sensible choices for your partition type:

  • 0xDA for non-fs data
  • 0xFD for old autodetect arrays
Personal tools