summaryrefslogtreecommitdiff
path: root/mdadm.conf.5
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-11-05 17:03:51 +1100
committerNeilBrown <neilb@suse.de>2008-11-05 17:03:51 +1100
commit8fd8d9c41d8757822f41c139b88d85d3df4ebbc6 (patch)
tree8a0d0a6c99a412bb9c09e98bc83c7dfca6bb75bc /mdadm.conf.5
parentd49410d3ab87cf62f1f34eb6ccca5eaefb2f5428 (diff)
Man pages: updates for container etc.
Multiple updates to try to get up to date with current code. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r--mdadm.conf.535
1 files changed, 31 insertions, 4 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index 40295bee..a02fe141 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -53,9 +53,20 @@ Also, there may be several device lines present in the file.
Alternatively, a
.B device
-line can contain the word
+line can contain either of both of the words
+.B containers
+and
.BR partitions .
-This will cause
+The word
+.B containers
+will cause
+.I mdadm
+to look for assembled CONTAINER arrays and included them as a source
+for assembling further arrays.
+.PP
+The word
+.I partitions
+will cause
.I mdadm
to read
.I /proc/partitions
@@ -67,7 +78,7 @@ but only the major and minor device numbers. It scans
.I /dev
to find the name that matches the numbers.
-If no DEVICE line is present, then "DEVICE partitions" is assumed.
+If no DEVICE line is present, then "DEVICE partitions containers" is assumed.
For example:
.IP
@@ -82,9 +93,13 @@ DEVICE partitions
.TP
.B ARRAY
The ARRAY lines identify actual arrays. The second word on the line
-should be the name of the device where the array is normally
+may be the name of the device where the array is normally
assembled, such as
.BR /dev/md1 .
+If no device name is given,
+.I mdadm
+will use various heuristic to determine an appropriate name.
+.PP
Subsequent words identify the array, or identify the array as a member
of a group. If multiple identities are given,
then a component device must match ALL identities to be considered a
@@ -189,6 +204,18 @@ Specify the metadata format that the array has. This is mainly
recognised for comparability with the output of
.BR "mdadm \-Es" .
+.TP
+.B container=
+Specify that this array is a member array of some container. The
+value given can be either a path name in /dev, or a UUID of the
+container array.
+
+.IP
+.B member=
+Specify that this array is a member array of some container. Each
+type of container has some way to enumerate member arrays, often a
+simple sequence number. The value identifies which member of a
+container the array is. It will usually accompany a 'container=' word.
.RE
.TP