Re: bug in lvm2app get_property value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux