mdrun8
Autodetect and activate all raid partitions
Usage
Without arguments:
autodetect
all
RAID
partitions
and
activate
MDs.
mdrun LIST
mdrun [DEVDIR]
NUMBER
UUID
[NUMBER
UUID ...]
Warning
mdrun has been deprecated on Debian. Please use mdadm instead. You can find information on how to use and configure mdadm in the mdadm(8) and mdadm.conf(5) manpages
Options
- LIST
-
lists all raids in the syntax needed for the number uuid pairs the alternative syntax accepts.
- DEVDIR
-
An optional override for the /dev directory.
- NUMBER UUID
-
pairs of number, uuids that define a md element to run. number comes from /dev/md/*.
Return value
Nothing is displayed and mdrun returns 0 on success.
Errors
On error, non-zero is returned, and a diagnostic string is printed.
Examples
mdrun.
Environment
MORERAIDVOLUMES (list of strings) : additional raid disks to scan, eg. loop devices.
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.
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.
Releases
9 releases since Debian 1.1 (Buzz); the text changed 4 times.
-V until Debian 2.1 (Slink);
-a until Debian 2.1 (Slink);
-c until Debian 2.1 (Slink);
-cn until Debian 1.2 (Rex);
-f until Debian 2.1 (Slink);
-fn until Debian 1.2 (Rex);
-i until Debian 1.2 (Rex);
-p until Debian 2.1 (Slink);
-px until Debian 1.2 (Rex);
-r until Debian 2.1 (Slink);
-v until Debian 2.1 (Slink).