diff options
author | NeilBrown <neilb@suse.de> | 2014-05-22 15:55:31 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-22 15:55:31 +1000 |
commit | a740cf6432245d607ee216b5380a3215084f101d (patch) | |
tree | 1fac1c8b732596a5b7ff20290c1828eda5337058 /mdadm.8.in | |
parent | 1e781e07ab565993f36292e7ec0dc3f574556759 (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.in | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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 |