diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-26 15:39:50 -0700 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-27 15:30:21 +1100 |
commit | fabbfd48b6c2398a344d2d4f7cbf0ab98181a6d4 (patch) | |
tree | a3e73bc19b2350fe7741073618221e6a8e5b4dff /mdadm.8 | |
parent | 614825ea825ac70ba847cd87e3beafcc557c6273 (diff) | |
download | mdadm-fabbfd48b6c2398a344d2d4f7cbf0ab98181a6d4.tar.gz mdadm-fabbfd48b6c2398a344d2d4f7cbf0ab98181a6d4.tar.xz mdadm-fabbfd48b6c2398a344d2d4f7cbf0ab98181a6d4.zip |
Support --wait-clean --scan
Its cumbersome to determine which devices to wait for in a system shutdown
script, so hook up --scan.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.8')
-rw-r--r-- | mdadm.8 | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1081,10 +1081,11 @@ listed, otherwise it will return failure. .TP .BR \-\-wait\-clean -For each md device given, arrange for the array to be marked clean as -soon as possible. Also, quiesce resync so that the monitor for external -metadata arrays (mdmon) has an opportunity to checkpoint the resync -position. +For each md device given, or each device in /proc/mdstat if +.B \-\-scan +is given, arrange for the array to be marked clean as soon as possible. +Also, quiesce resync so that the monitor for external metadata arrays +(mdmon) has an opportunity to checkpoint the resync position. .I mdadm will return with success if the array uses external metadata and we successfully waited. For native arrays this returns immediately as the |