summaryrefslogtreecommitdiff
path: root/mdadm.conf.5
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-06-02 05:33:40 +0000
committerNeil Brown <neilb@suse.de>2006-06-02 05:33:40 +0000
commit058574b1da29e875104043fe6ea5ff5cfb81ebd0 (patch)
treefc12fbcbc7f5bfa8a2019d8d865417b317aa6a3f /mdadm.conf.5
parent1d1e104b0dee92f91e6b5037661a17f48748e934 (diff)
Allow default metadata to be specified in mdadm.conf
CREATE metadata=1 in mdadm.conf will cause version-1 superblocks to be the default. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf.5')
-rw-r--r--mdadm.conf.525
1 files changed, 24 insertions, 1 deletions
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index b9beffa1..6ae68023 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -127,6 +127,17 @@ this is mainly for compatibility with the output of
.BR "mdadm --examine --scan" .
.TP
+.B spares=
+The value is a number of spare devices to expect the array to have.
+.I mdadm --monitor
+will report an array if it is found to have fewer than this number of
+spares when
+.B --monitor
+starts or when
+.B --oneshot
+is used.
+
+.TP
.B spare-group=
The value is a textual name for a group of arrays. All arrays with
the same
@@ -165,6 +176,13 @@ driver as the bitmap file. This has the same function as the
.B --bitmap-file
option to
.BR --assemble .
+
+.TP
+.B metadata=
+Specify the metadata format that the array has. This is mainly
+recognised for comparability with the output of
+.IR "mdadm -Es" .
+
.RE
.TP
@@ -217,7 +235,7 @@ line and it should be give only one program.
.B CREATE
The
.B create
-line gives default values to be used when creating device entries for
+line gives default values to be used when creating arrays and device entries for
arrays.
These include:
@@ -244,6 +262,11 @@ flag to mdadm. Give
- possibly followed by a number of partitions - to indicate how
missing device entries should be created.
+.TP
+.B metadata=
+The name of the metadata format to use if none is explicitly given.
+This can be useful to impose a system-wide default of version-1 superblocks.
+
.RE