]> git.ipfire.org Git - thirdparty/mdadm.git/blob - mdassemble.8
Assemble(): don't dup_super() before we need it.
[thirdparty/mdadm.git] / mdassemble.8
1 .\" -*- nroff -*-
2 .TH MDASSEMBLE 8 "" v3.2.2
3 .SH NAME
4 mdassemble \- assemble MD devices
5 .I aka
6 Linux Software RAID
7
8 .SH SYNOPSIS
9
10 .BI mdassemble
11
12 .SH DESCRIPTION
13 .B mdassemble
14 is a tiny program that can be used to assemble MD devices inside an
15 initial ramdisk (initrd) or initramfs; it is meant to replace the in-kernel
16 automatic raid detection and activation.
17 It can be built statically and linked against lightweight libc alternatives, like
18 .B dietlibc,
19 .B klibc
20 or
21 .B uClibc.
22
23 .SH USAGE
24 Invoking
25 .B mdassemble
26 has the same effect as invoking
27 .B mdadm \-\-assemble \-\-scan.
28 .PP
29 Invoking
30 .B mdassemble
31 a second time will make all defined arrays readwrite, this is useful if
32 using the
33 .B start_ro
34 module parameter.
35
36 .SH OPTIONS
37
38 There are no options to
39 .B mdassemble.
40
41 .SH FILES
42
43 .SS /etc/mdadm.conf
44
45 The config file lists which devices may be scanned to see if
46 they contain MD super block, and gives identifying information
47 (e.g. UUID) about known MD arrays. See
48 .BR mdadm.conf (5)
49 for more details.
50
51 .B mdassemble
52 supports all configuration parameters defined in
53 .B mdadm.conf
54 with the exception of
55 .B auto=
56 which is supported only if mdadm was built with the
57 .B \-DMDASSEMBLE_AUTO
58 define.
59
60 .SH SEE ALSO
61 .PP
62 .BR mdadm (8),
63 .BR mdadm.conf (5),
64 .BR md (4),
65 .BR diet (1).