summaryrefslogtreecommitdiff
path: root/debian/mdrun.8
blob: 5d405c903466599d55ecaff8d6189624939e52f2 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
.\"
.\" This man page writeen aug 13 3004 by Robert Collins <robertc@robertcollins.net>
.\" This template provided by Tom Christiansen <tchrist@jhereg.perl.com>.
.\" 
.TH MDRUN 8 
.SH NAME
mdrun \- autodetect and activate all raid partitions
.SH SYNOPSIS
mdrun detects all (or named) raid partitions and activates them.

Without arguments: autodetect all RAID partitions and activate MDs.
.PP
.B mdrun
.B LIST
.PP
.B mdrun
[
.I DEVDIR
]
.I NUMBER UUID
[
.I NUMBER UUID ...
]
.SH WARNING
mdrun has been deprecated on Debian. Please use
.B mdadm
instead. You can find information on how to use and configure
.B mdadm
in the 
.BR mdadm(8)
and
.BR mdadm.conf(5)
manpages
.SH OPTIONS
.TP
.B LIST
lists all raids in the syntax needed for the number uuid pairs the alternative syntax accepts.
.TP
.I DEVDIR
An optional override for the /dev directory.
.TP
.I NUMBER UUID
pairs of number, uuids that define a md element to run. number comes from /dev/md/*.
.SH "RETURN VALUE"
Nothing is displayed and mdrun returns 0 on success.
.SH ERRORS
On error, non-zero is returned, and a diagnostic string is printed.
.SH EXAMPLES
mdrun.
.SH ENVIRONMENT
MORERAIDVOLUMES (list of strings) : additional raid disks to scan, eg. loop devices.
.SH NOTES
If the first argument is a directory, it will be used as a writeable temporary directory for device nodes. 
mdrun needs mknod to create them on-the-fly.
.SH CAVEATS
Create /dev/fs directory if you have devfs support in the kernel but do not want to mount it over /dev.
Usage of /dev/fs directory will keep mdrun away from /dev.
.SH AUTHOR
Eduard Bloch <blade@debian.org>.
.SH HISTORY
This man page was created Aug 13 2004 by Robert Collins.
.SH "SEE ALSO"
.BR mdadm (8).