MDASSEMBLE(8)              System Manager's Manual             MDASSEMBLE(8)

NAME         top

       mdassemble - assemble MD devices aka Linux Software RAID

SYNOPSIS         top


DESCRIPTION         top

       mdassemble is a tiny program that can be used to assemble MD devices
       inside an initial ramdisk (initrd) or initramfs; it is meant to
       replace the in-kernel automatic RAID detection and activation.  It
       can be built statically and linked against lightweight libc
       alternatives, like dietlibc, klibc or uClibc.

USAGE         top

       Invoking mdassemble has the same effect as invoking mdadm --assemble

       Invoking mdassemble a second time will make all defined arrays
       readwrite, this is useful if using the start_ro module parameter.

OPTIONS         top

       There are no options to mdassemble.

FILES         top

       The config file lists which devices may be scanned to see if they
       contain MD super block, and gives identifying information (e.g. UUID)
       about known MD arrays.  See mdadm.conf(5) for more details.

       mdassemble supports all configuration parameters defined in
       mdadm.conf with the exception of auto= which is supported only if
       mdadm was built with the -DMDASSEMBLE_AUTO define.

SEE ALSO         top

       mdadm(8), mdadm.conf(5), md(4), diet(1).

COLOPHON         top

       This page is part of the mdadm (Tool for managing md arrays in Linux)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug report for
       this manual page, send it to  This page
       was obtained from the project's upstream Git repository 
       ⟨git://⟩ on 2017-03-13.  If you discover any ren‐
       dering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

v4.0                                                           MDASSEMBLE(8)