mdcreate8
Creates a mdtab entry
Synopsys
mdcreate [-cxk] [-fx] personality md_dev dev0 dev1 ...
Overview
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
-cxkwhere x is a power of 2.
-
-fn -
(raid-1 only)
Set the maximum fault number asn.
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
Releases
7 releases since Debian 1.1 (Buzz); the text changed 2 times.
-cn since Debian 2.0 (Hamm);
-fn since Debian 2.0 (Hamm).
-c until Debian 1.3 (Bo);
-f until Debian 1.3 (Bo).