Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkraid(8) [redhat man page]

mkraid(8)						      System Manager's Manual							 mkraid(8)

NAME
mkraid - initializes/upgrades RAID device arrays SYNOPSIS
mkraid [--configfile] [--version] [--force] [--upgrade] [-cvfu] </dev/md?>+ DESCRIPTION
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, --configfile filename 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 vari- ous 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. BUGS
Probably many. SEE ALSO
raidtab(5), raidstart(8), raid0run(8), raidstop(8) mkraid(8)

Check Out this Related Man Page

raidstart(8)						      System Manager's Manual						      raidstart(8)

NAME
raidstart, raidstop, - command set to manage md devices. SYNOPSIS
raidstart [options] <raiddevice>* raidstop [options] <raiddevice>* DESCRIPTION
RAID devices are virtual devices created from two or more real block devices. This allows multiple disks to be combined into a single filesystem, possibly with automated backup and recovery. Linux RAID devices are implemented through the md device driver. If you're using the /proc filesystem, /proc/mdstat gives you informations about md devices status. Currently, Linux supports linear md devices, RAID0 (striping), RAID1 (mirrroring), and RAID4 and RAID5. For information on the various lev- els of RAID, check out: http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/ for new releases of the RAID driver check out: ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha Avaible commands are : mkraid : configures (creates) md (RAID) devices in the kernel, banding multiple devices into one. raidstart : activates (starts) an existing 'persistent' md device raid0run : activates old nonpersistent RAID0/LINEAR md devices raidstop : turns off an md device, and unconfigures (stops) it By default, a systems RAID configuration is kept in /etc/raidtab, which can configure multiple RAID devices. All of these tools work similiarly. If -a (or --all) is specified, the specified operation is performed on all of the RAID devices men- tioned in the configuration file. Otherwise, one or more RAID devices must be specified on the command line. For example: raid0run -a Starts all of the 'old' RAID0 RAID devices specified in /etc/raidtab. If only /dev/md1 should be started, the following command should be used instead: raidstart /dev/md1 OPTIONS
-a, --all Apply the command to all of the configurations specified in the config file. -c, --configfile filename Use filename as the configuration file (/etc/raidtab is used by default). -h, --help Displays a short usage message, then exits. -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. BUGS
no known bugs. SEE ALSO
raidtab(5), raid0run(8), raidstop(8), mkraid(8) raidstart(8)
Man Page

Featured Tech Videos