[lvm-devel] "lv_attr" disappeared from lvm_lv_get_property?
Peter Rajnoha
prajnoha at redhat.com
Fri Jan 30 09:14:33 UTC 2015
On 01/30/2015 08:51 AM, Marius Vollmer wrote:
> Alasdair G Kergon <agk at redhat.com> writes:
>
>> Sounds like we forgot to update the library code to use the new method...
>
> I filed a bug for this:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1187481
>
Unfortunately, this was a regression introduced in LVM2 v115. It should
be fixed now (https://bugzilla.redhat.com/show_bug.cgi?id=1187481#c2).
> Let us know how we are going to fix this. If lvm2app is really a lost
> cause, we can change storaged to fork lvs etc and parse it's output.
I wouldn't say lvm2app is unusable, it's just not as maintained and
refreshed as direct LVM tools. The bug above was just a silly regression
that happened (yes, we should add full test coverage to lvm2app - that's
currently missing, I admit).
Also, recently, we've added tons of new fields, also fields for
reporting each attribute in its own field so you have easier job
when parsing the output (see lvs/vgs/pvs -o help). However,
some of these new fields doesn't have lvm2app hooks yet written -
they're going to be added soon.
--
Peter
More information about the lvm-devel
mailing list