---
name: "mdrun"
section: "8"
platform: "linux"
package: "mdadm"
version: "2.5.6-9"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/mdrun/8"
---

# 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)](/mdadm/8.md)** and **[mdadm.conf(5)](/mdadm.conf/5.md)** 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 \<blade@debian.org\>.

## HISTORY

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

## SEE ALSO

[**mdadm**(8)](/mdadm/8.md).
