Name

mdadm

Synopsis

mdadm [mode] mddevice [options] memberdevices

mdadm has several modes of operation: Create, Build, Assemble, and Monitor. Each of these modes has its own command-line switch. In addition to these modes, there are many management features that operate independently. These standalone features are grouped into Manage or Miscellaneous mode. Most mdadm options have a long and a short form, although a few options have only a long form, to safeguard against using them accidentally. You can use whichever form you prefer.

General options for mdadm

-h, --help

Displays general help for mdadm. The --help option can also be combined with other options to display topic-specific help (for example, mdadm --create -help).

-V, --version

Displays the mdadm version.

-v, --verbose

Increases verbosity. This option can be combined with other options to increase the amount of information that mdadm displays.

Get Managing RAID on Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.