]> git.ipfire.org Git - thirdparty/mdadm.git/blame - mdadm.conf.5
mdadm-0.7.1
[thirdparty/mdadm.git] / mdadm.conf.5
CommitLineData
56eb10c0
NB
1.TH MDADM.CONF 5
2.SH NAME
3mdadm.conf \- configuration for management of Software Raid with mdadm
4.SH SYNOPSIS
5/etc/mdadm.conf
6.SH DESCRIPTION
7.PP
8.B mdadm
9is a tools for creating an managing RAID devices using the
10.B md
11driver in Linux.
12.PP
13Some common tasks, such as assembling all arrays, can be simplified
14by describing the devices and array in this configuations file.
15
16.SS SYNTAX
17The file should be seen as a collection of words separated by white
18space (space, tab, or newline).
19Any word that being with a hash sign (#) starts a comment and that
20word together with the remainder of the line are ignored.
21
22Any line that start with white space (space or tab) is treated as
23though it were a continuation of the previous line.
24
25Empty lines are ignored, but otherwise each (non continuation) line
26must start with a keyword as listed below. The key words are case
27insensitve and can be abbreviated to 3 characters.
28
29The keywords are:
30.TP
31.B DEVICE
32A
33.B device
34line lists the devices (whole devices or partitions) that might contain
35a component of an MD array. When looking for the components of an
36array,
37.B mdadm
38will scan these devices and no others.
39
40The
41.B device
42line may contain a number of different devices (separated by spaces)
43and each device name can contain wild cards as defined by
44.BR glob (7).
45
46Also, there may be several device lines present in the file.
47
48.TP
49.B ARRAY
50
51.SH SEE ALSO
52mdadm (8),
53md (4).
54