[linux-lvm] bug in lvm2app get_property value

ben benscott at nwlink.com
Mon Nov 22 06:34:20 UTC 2010

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?

Thank you.

More information about the linux-lvm mailing list