1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
.\" -*- nroff -*-
.TH mkraid 8
.SH NAME
mkraid \- initializes/upgrades RAID device arrays
.SH SYNOPSIS
\fBmkraid\fR [--configfile] [--version] [--force]
[--upgrade] [-cvfu] </dev/md?>+
.SH DESCRIPTION
\fBmkraid\fR 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. \fBmkraid\fR works for
all types of RAID arrays (RAID1, RAID4, RAID5, LINEAR and RAID0).
Note that initializing RAID devices \fBdestroys all of the data on
the consituent devices\fR.
.SH OPTIONS
.IP "\fB-c\fP, \fB\-\-configfile\fP \fIfilename\fR"
Use \fIfilename\fR as the configuration file (\fB/etc/raidtab\fR is used
by default).
.IP "\fB\-f\fP, \fB\-\-force\fP"
Initialize the consituent devices, even if they appear to have data on
them already.
.IP "\fB\-h\fP, \fB\-\-help\fP"
Displays a short usage message, then exits.
.IP "\fB\-o\fP, \fB\-\-upgrade\fP"
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.
.IP "\fB\-V\fP, \fB\-\-version\fP"
Displays a short version message, then exits.
.SH 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.
.SH BUGS
Probably many.
.SH SEE ALSO
.IR raidtab (5),
.IR raidstart (8),
.IR raid0run (8),
.IR raidstop (8)
|