mkraid sets up a set of block devices into a single RAID array.
It looks in its configuration file for the md devices mentioned on the
command line, and initializes those arrays. mkraid works for
all types of RAID arrays (RAID1, RAID4, RAID5, LINEAR and RAID0).
Note that initializing RAID devices destroys all of the data on
the consituent devices.
OPTIONS
-c, --configfilefilename
Use filename as the configuration file (/etc/raidtab is used
by default).
-f, --force
Initialize the consituent devices, even if they appear to have data on
them already.
-h, --help
Displays a short usage message, then exits.
-o, --upgrade
This option upgrades older arrays to the current kernel's RAID version,
without destroying data. Although the utility detects various pitfalls
like mixed up disks and inconsistent superblocks, this option should be
used with care.
-V, --version
Displays a short version message, then exits.
NOTES
The raidtools are derived from the md-tools and raidtools packages, which
were originally written by Marc Zyngier, Miguel de Icaza, Gadi Oxman,
Bradley Ward Allen, and Ingo Molnar.