mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
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).
This commit is contained in:
parent
f8b3b0bc9a
commit
59b29716e5
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.168 -
|
Version 2.02.168 -
|
||||||
====================================
|
====================================
|
||||||
|
lvconvert --repair accepts --interval and --background option.
|
||||||
More efficiently prepare _rmeta devices when creating a new raid LV.
|
More efficiently prepare _rmeta devices when creating a new raid LV.
|
||||||
|
|
||||||
Version 2.02.167 - 5th November 2016
|
Version 2.02.167 - 5th November 2016
|
||||||
|
@ -365,6 +365,9 @@ See corresponding operation --splitmirrors.
|
|||||||
VG/RaidLV
|
VG/RaidLV
|
||||||
.br
|
.br
|
||||||
\[bu]
|
\[bu]
|
||||||
|
Options \-\-background, \-\-interval.
|
||||||
|
.br
|
||||||
|
\[bu]
|
||||||
Replace failed PVs in RaidLV.
|
Replace failed PVs in RaidLV.
|
||||||
|
|
||||||
.B lvconvert \-\-replace
|
.B lvconvert \-\-replace
|
||||||
@ -502,6 +505,9 @@ Change the type of log used by MirrorLV.
|
|||||||
VG/MirrorLV
|
VG/MirrorLV
|
||||||
.br
|
.br
|
||||||
\[bu]
|
\[bu]
|
||||||
|
Options \-\-background, \-\-interval.
|
||||||
|
.br
|
||||||
|
\[bu]
|
||||||
Replace failed PVs in MirrorLV.
|
Replace failed PVs in MirrorLV.
|
||||||
|
|
||||||
.B lvconvert \-\-type linear
|
.B lvconvert \-\-type linear
|
||||||
|
@ -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",
|
if (arg_outside_list_is_set(cmd, "cannot be used with --repair",
|
||||||
repair_ARG,
|
repair_ARG,
|
||||||
alloc_ARG, usepolicies_ARG,
|
alloc_ARG, usepolicies_ARG,
|
||||||
|
background_ARG, interval_ARG,
|
||||||
force_ARG, noudevsync_ARG, test_ARG,
|
force_ARG, noudevsync_ARG, test_ARG,
|
||||||
-1))
|
-1))
|
||||||
return_0;
|
return_0;
|
||||||
|
Loading…
Reference in New Issue
Block a user