summaryrefslogtreecommitdiff
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-05-22 15:55:31 +1000
committerNeilBrown <neilb@suse.de>2014-05-22 15:55:31 +1000
commita740cf6432245d607ee216b5380a3215084f101d (patch)
tree1fac1c8b732596a5b7ff20290c1828eda5337058 /mdadm.8.in
parent1e781e07ab565993f36292e7ec0dc3f574556759 (diff)
MISC: add --action option to set or abort check/repair.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index ced1b509..718bcdba 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -1588,6 +1588,31 @@ successfully waited. For native arrays this returns immediately as the
kernel handles dirty-clean transitions at shutdown. No action is taken
if safe-mode handling is disabled.
+.TP
+.B \-\-action=
+Set the "sync_action" for all md devices given to one of
+.BR idle ,
+.BR frozen ,
+.BR check ,
+.BR repair .
+Setting to
+.B idle
+will abort any currently running action though some actions will
+automatically restart.
+Setting to
+.B frozen
+will abort any current action and ensure no other action starts
+automatically.
+
+Details of
+.B check
+and
+.B repair
+can be found it
+.IR md (4)
+under
+.BR "SCRUBBING AND MISMATCHES" .
+
.SH For Incremental Assembly mode:
.TP
.BR \-\-rebuild\-map ", " \-r