1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

use pvmove flag

This commit is contained in:
Alasdair Kergon 2003-04-30 15:25:34 +00:00
parent 8afb045af2
commit 7512e5a202

View File

@ -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)
{
return process_each_vg(cmd, argc, argv, LCK_VG_READ, 0, NULL,
&vg_backup_single);
int ret;
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;
}