[linux-lvm] Can't create logical volume using lvm2app library
Ruben Quinones
rq.sysadmin at gmail.com
Thu May 17 06:25:30 UTC 2012
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:
extents = extents_from_size(vg->cmd, size / SECTOR_SIZE,
vg->extent_size);
is 0. I am calling the function assuming it expects extent size, like this:
lvm_vg_create_lv_linear(vg, "testname", 10);
Everything works ok when using lvcreate though, any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120517/3e6e42c5/attachment.htm>
More information about the linux-lvm
mailing list