summaryrefslogtreecommitdiffstats
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-10-31 00:41:50 +0100
committerNeilBrown <neilb@suse.de>2013-10-31 00:41:50 +0100
commitf33a71f107a5ad35345215ee8ebf9920a00099b0 (patch)
treed2625c5e474630c8c283db18263384a89cc22570 /mdadm.8.in
parentFix typos in mdadm.8.in (diff)
downloadmdadm-f33a71f107a5ad35345215ee8ebf9920a00099b0.tar.xz
mdadm-f33a71f107a5ad35345215ee8ebf9920a00099b0.zip
Add support for --add-spare
--add-spare is like --add, but a --re-add is never attempted. So it is equivalent to two separate commands: --zero-metadata --add Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index 006ae59f..61cb4f71 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -214,7 +214,10 @@ to detect and assemble arrays \(em possibly in an
.P
If a device is given before any options, or if the first option is
+and of
.BR \-\-add ,
+.BR \-\-re\-add ,
+.BR \-\-add\-spare ,
.BR \-\-fail ,
.BR \-\-remove ,
or
@@ -1298,6 +1301,15 @@ useful if you are certain that the reason for failure has been
resolved.
.TP
+.B \-\-add\-spare
+Add a device as a spare. This is similar to
+.B \-\-add
+except that it does not attempt
+.B \-\-re\-add
+first. The device will be added as a spare even if it looks like it
+could be an recent member of the array.
+
+.TP
.BR \-r ", " \-\-remove
remove listed devices. They must not be active. i.e. they should
be failed or spare devices.