diff options
author | Anna Czarnowska <anna.czarnowska@intel.com> | 2010-11-22 20:58:06 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 20:58:06 +1100 |
commit | edde9560fa19af53928059784c81a0cf5badefa2 (patch) | |
tree | 45876ccbf0fcbd2d51e8324b276481d08f91f758 /ReadMe.c | |
parent | 0eac199a2ce5d7febc071616450c26882779ed09 (diff) | |
download | mdadm-edde9560fa19af53928059784c81a0cf5badefa2.tar.gz |
mdadm: added --no-sharing option for Monitor mode
--no-sharing option disables moving spares between arrays/containers.
Without the option spares are moved if needed according to config rules.
We only allow one process moving spares started with --scan option.
If there is such process running and another instance of Monitor
is starting without --scan, then we issue a warning but allow it
to continue.
Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r-- | ReadMe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -185,6 +185,8 @@ struct option long_options[] = { {"oneshot", 0, 0, '1'}, {"pid-file", 1, 0, 'i'}, {"syslog", 0, 0, 'y'}, + {"no-sharing", 0, 0, NoSharing}, + /* For Grow */ {"backup-file", 1,0, BackupFile}, {"array-size", 1, 0, 'Z'}, |