Partitionable

From Linux Raid Wiki
Revision as of 10:48, 4 June 2006 by DavidGreaves (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

md arrays can be partitioned just like other block devices (2.6)

This is useful for...

See the -a|--auto option in the mdadm man page for full details.

Simply create your array like this:

 mdadm --create /dev/media ... --auto p4

which tells mdadm to automatically create 4 partitions (it defaults to 5).

and mdadm will create:

 /dev/media
 /dev/media1
 /dev/media2
 /dev/media3
 /dev/media4

for you.

Personal tools