diff options
author | Zdenek Behan <rain@matfyz.cz> | 2009-10-19 13:13:58 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-10-19 13:13:58 +1100 |
commit | 9a36a9b713a6c789f268251a81de67bb8fd9c7f8 (patch) | |
tree | 1591bd243d1267838e6cbe405533dac6348b0f1b /mdadm.8 | |
parent | 1373b07d758213b643f72a09384b840e4f08057a (diff) | |
download | mdadm-9a36a9b713a6c789f268251a81de67bb8fd9c7f8.tar.gz mdadm-9a36a9b713a6c789f268251a81de67bb8fd9c7f8.tar.xz mdadm-9a36a9b713a6c789f268251a81de67bb8fd9c7f8.zip |
Monitor: add option to specify rebuild increments
ie. the percent increments after which RebuildNN event is generated
This is particulary useful when using --program option, rather than
(only) syslog for alerts.
Signed-off-by: Zdenek Behan <rain@matfyz.cz>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8')
-rw-r--r-- | mdadm.8 | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1221,6 +1221,12 @@ reduce this as the kernel alerts immediately when there is any change. .TP +.BR \-r ", " \-\-increment +Give a percentage increment. +.I mdadm +will generate RebuildNN events with the given percentage increment. + +.TP .BR \-f ", " \-\-daemonise Tell .I mdadm @@ -1818,8 +1824,10 @@ An md array started reconstruction. (syslog priority: Warning) .BI Rebuild NN Where .I NN -is 20, 40, 60, or 80, this indicates that rebuild has passed that many -percentage of the total. (syslog priority: Warning) +is a two-digit number (ie. 05, 48). This indicates that rebuild +has passed that many percent of the total. The events are generated +with fixed increment since 0. Increment size may be specified with +a commandline option (default is 20). (syslog priority: Warning) .TP .B RebuildFinished |