diff options
author | NeilBrown <neilb@suse.de> | 2013-10-31 00:41:50 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-10-31 00:41:50 +0100 |
commit | f33a71f107a5ad35345215ee8ebf9920a00099b0 (patch) | |
tree | d2625c5e474630c8c283db18263384a89cc22570 /mdadm.8.in | |
parent | Fix typos in mdadm.8.in (diff) | |
download | mdadm-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.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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. |