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