Add support for exported shell variable LVM_VG_NAME also
for thins and snapshots.
Version 2.02.89 -
==================================
+ Add missing default $LVM_VG_NAME usage for snapshots.
Fix extent_count overflow with lvextend.
Add missing lvrename mirrored log recursion in for_each_sub_lv.
Improve lv_extend stack reporting.
lp->origin = ptr + 1;
}
+ if (!lp->vg_name)
+ _set_vg_name(lp, extract_vgname(cmd, NULL));
+
if (!lp->vg_name) {
log_error("The origin name should include the "
"volume group.");
lp->pool = vg_name;
if (!_set_vg_name(lp, extract_vgname(cmd, lp->pool)))
return_0;
-
+
+ if (!lp->vg_name)
+ _set_vg_name(lp, extract_vgname(cmd, NULL));
+
if (!lp->vg_name) {
log_error("The pool name should include the "
"volume group.");