mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-03 08:22:00 +03:00
use pvmove flag
This commit is contained in:
@ -43,6 +43,15 @@ static int vg_backup_single(struct cmd_context *cmd, const char *vg_name,
|
|||||||
|
|
||||||
int vgcfgbackup(struct cmd_context *cmd, int argc, char **argv)
|
int vgcfgbackup(struct cmd_context *cmd, int argc, char **argv)
|
||||||
{
|
{
|
||||||
return process_each_vg(cmd, argc, argv, LCK_VG_READ, 0, NULL,
|
int ret;
|
||||||
&vg_backup_single);
|
|
||||||
|
if (partial_mode())
|
||||||
|
init_pvmove(1);
|
||||||
|
|
||||||
|
ret = process_each_vg(cmd, argc, argv, LCK_VG_READ, 0, NULL,
|
||||||
|
&vg_backup_single);
|
||||||
|
|
||||||
|
init_pvmove(0);
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user