1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvextend: refresh shared LV with vgname as arg

Update the previous commit to leave the vgname as
an arg instead of moving it into the select option,
(the compound select option rule is confusing the
dlm arg processing.)
This commit is contained in:
David Teigland 2019-03-22 15:01:29 -05:00
parent 86b96ede2a
commit 27cfeb1d39

View File

@ -818,9 +818,10 @@ int lm_refresh_lv_start_dlm(struct action *act)
memset(run_uuid, 0, sizeof(run_uuid));
/* todo: add --readonly */
/* FIXME: move vgname into the select option once the dlm can handle compound select args */
snprintf(command, DLMC_RUN_COMMAND_LEN,
"lvm lvchange --refresh --partial --nolocking --select 'lvname=%s && vgname=%s'",
"lvm lvchange --refresh --partial --nolocking --select lvname=%s %s",
lvname, vgname);
rv = dlmc_run_start(command, strlen(command), 0,