virt-install: zero allocation on lvm volumes

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

 



Hi,
creating a vm with a virtual disk in an lvm pool e.g. via:

virt-install --disk=pool=vm_test,size=3.0 ...

results in (from libvirtd's log):

virCommandWait:2332 : internal error Child process (/sbin/lvcreate --name test01.img -L 0K --virtualsize 3145728K vg_vm_test) unexpected exit status 5:   Unable to create new logical volume with no extents

However using

virt-install --disk=pool=vm_test,size=3.0,sparce=false ...

works. I wonder what's the correct place to make sure we don't try to
create LVM volumes with a zero allocation by default?
Cheers,
 -- Guido


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux