summaryrefslogtreecommitdiff
path: root/mdassemble.8
blob: 601c1d107ecb8411bc140906c1701b371dd73b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.\" -*- nroff -*-
.TH MDASSEMBLE 8 "" v3.3.4
.SH NAME
mdassemble \- assemble MD devices
.I aka
Linux Software RAID

.SH SYNOPSIS

.BI mdassemble

.SH DESCRIPTION
.B 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
.B dietlibc,
.B klibc
or
.B uClibc.

.SH USAGE
Invoking
.B mdassemble
has the same effect as invoking
.B mdadm \-\-assemble \-\-scan.
.PP
Invoking
.B mdassemble
a second time will make all defined arrays readwrite, this is useful if
using the
.B start_ro
module parameter.

.SH OPTIONS

There are no options to
.B mdassemble.

.SH FILES

.SS /etc/mdadm/mdadm.conf

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
.BR mdadm.conf (5)
for more details.

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

.SH SEE ALSO
.PP
.BR mdadm (8),
.BR mdadm.conf (5),
.BR md (4),
.BR diet (1).