Jan Ceuleers wrote:
NeilBrown wrote:
Yes. Remove the "spares=1" from each line.
The sole effect of this text is to tell --monitor to expect a spare, and
to complain if no spare is found.
Many thanks. I hadn't picked that up from the manpage, so here is a
patch for your consideration:
Reasonable patch?
diff --git a/mdadm.conf.5 b/mdadm.conf.5
index 40295be..b67bec4 100644
--- a/mdadm.conf.5
+++ b/mdadm.conf.5
@@ -135,6 +135,7 @@ this is mainly for compatibility with the output of
.TP
.B spares=
The value is a number of spare devices to expect the array to have.
+The sole use of this keyword and value is as follows:
.B mdadm \-\-monitor
will report an array if it is found to have fewer than this number of
spares when
Thanks, Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html