Reference

mdrun(8)

autodetect and activate all raid partitions

NAME

mdrun - autodetect and activate all raid partitions

SYNOPSIS

mdrun detects all (or named) raid partitions and activates them.

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.

AUTHOR

Eduard Bloch <[email protected]>.

HISTORY

This man page was created Aug 13 2004 by Robert Collins.

SEE ALSO

mdadm(8).

History

-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).