[lvm-devel] "lv_attr" disappeared from lvm_lv_get_property?
Marius Vollmer
marius.vollmer at redhat.com
Thu Jan 29 19:50:08 UTC 2015
Hi,
at one moment lvm_lv_get_property returned a valid and useful "lv_attr"
property, and then suddenly it returns values with "is_valid == 0".
I think it works with lvm2-2.02.111-1.fc21.x86_64 and am sure it fails
with lvm2-2.02.115-1.fc21.x86_64.
Furthermore, lvm_lv_get_attr, which might be the right function to use
in the first place, returns a incomplete value like "twi-XXtz--" where
the 'active' and 'open' fields are set to "unknown".
The lvs command still displays the correct values with "lvs -o lv_attr".
What in the name of holy backwards compatibility is going on here?
More information about the lvm-devel
mailing list