diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-10-17 11:16:16 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-11-11 16:51:33 +0100 |
commit | 59b29716e5fd0f490d28d2457cdebfc68eb9940e (patch) | |
tree | 2bfbe2cce981c471b4c4b900abd3a9fbb562f93d | |
parent | f8b3b0bc9a5758ab3cacf0de79ee48bb851b07a6 (diff) | |
download | lvm2-59b29716e5fd0f490d28d2457cdebfc68eb9940e.tar.gz |
lvconvert: repair accepts interval and background
For mirror and raid we expose --interval and --background on
command line (instead of using just always using compiled-in defaults).
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | man/lvconvert.8.in | 6 | ||||
-rw-r--r-- | tools/lvconvert.c | 1 |
3 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,6 @@ Version 2.02.168 - ==================================== + lvconvert --repair accepts --interval and --background option. More efficiently prepare _rmeta devices when creating a new raid LV. Version 2.02.167 - 5th November 2016 diff --git a/man/lvconvert.8.in b/man/lvconvert.8.in index bc4af80fe..0becc8a89 100644 --- a/man/lvconvert.8.in +++ b/man/lvconvert.8.in @@ -365,6 +365,9 @@ See corresponding operation --splitmirrors. VG/RaidLV .br \[bu] +Options \-\-background, \-\-interval. +.br +\[bu] Replace failed PVs in RaidLV. .B lvconvert \-\-replace @@ -502,6 +505,9 @@ Change the type of log used by MirrorLV. VG/MirrorLV .br \[bu] +Options \-\-background, \-\-interval. +.br +\[bu] Replace failed PVs in MirrorLV. .B lvconvert \-\-type linear diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 4563adeb4..d6824d8f0 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -534,6 +534,7 @@ static int _read_params(struct cmd_context *cmd, int argc, char **argv, if (arg_outside_list_is_set(cmd, "cannot be used with --repair", repair_ARG, alloc_ARG, usepolicies_ARG, + background_ARG, interval_ARG, force_ARG, noudevsync_ARG, test_ARG, -1)) return_0; |