[linux-lvm] bug in lvm2app get_property value

Dave Wysochanski dwysocha at redhat.com
Tue Nov 23 04:03:44 UTC 2010


On Sun, 2010-11-21 at 22:34 -0800, ben wrote:
> For some reason the following functions return different numbers for single 
> segment volumes:
> 
>     value = lvm_lv_get_property(lvm_lv, "lv_size");
>     value = lvm_lvseg_get_property(lvm_lvseg, "seg_size");
> 
> The first function seems to be correct while the second one returns the same 
> value divided by 512?
> 

yes this is a bug - thanks for reporting.
Patch submitted to lvm-devel.




More information about the linux-lvm mailing list