Hi. I'm having a problem when trying to create a lv using lvm2app's function lvm_vg_create_lv_linear... I have found that the output from the function in lvm_lv.c:<div><br></div><div><div>extents = extents_from_size(vg->cmd, size / SECTOR_SIZE,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                              </span>    vg->extent_size);</div></div><div><br></div><div>is 0. I am calling the function assuming it expects extent size, like this:</div><div><br></div>
<div> lvm_vg_create_lv_linear(vg, "testname", 10);</div><div><br></div><div><br></div><div>Everything works ok when using lvcreate though, any thoughts?</div><div><br></div>