NAME
mdcreate - creates a mdtab entry
SYNOPSYS
mdcreate [-cxk] [-fx] personality md_dev dev0 dev1 ...
DESCRIPTION
mdcreate sets up a mdtab entry, and adds some checksum informations to insure consistency of the virtual device.
OPTIONS
- -cn
-
Set the chunk size as PAGE_SIZE << n. You can also set the chunk size in kilobytes with -cxk where x is a power of 2.
- -fn
-
(raid-1 only)
Set the maximum fault number as n.
EXAMPLES
Currently, usable personalities are linear, raid0 & raid1. To create a mdtab entry for a raid0 device using 8k chunks, use :
/sbin/mdcreate -c8k raid0 /dev/md0 /dev/sdb1 /dev/sdc1