Bug#717684: liblinux-lvm-storage doesn't pass the LV Path field

Ken Hahn khahn at engr.wisc.edu
Tue Jul 23 19:33:42 UTC 2013


Package: liblinux-lvm-perl
Version: 0.16-1
Severity: important

Hello,

I've been trying to debug issues in fai-setup-storage using lvm
partitions, and in the process I found that they use your module.
The ultimate problem is that logical
volume information is derived from executing the "vgdisplay -v" command
within your module.

The output from this command has changed between squeeze and wheezy.
The older version of this command has fewer fields.

snippet of older output:
  LV Name                /dev/vg/var
  VG Name                vg

snippit of newer output:
  LV Path                /dev/vg/var
  LV Name                var
  VG Name                vg


Ultimately they have a logic problem because between squeeze and wheezy
lvm apparently added a field and redefined the meaning for the old field.

That said, your module needs to pass through the new field for any user
of the module to get accurate information, and I don't believe that the
code is there to do so.

Thanks for supporting the module, and effort you put towards the fix,

-Ken Hahn



More information about the pkg-perl-maintainers mailing list