On 04/22/2013 07:40 PM, Edoardo Comar wrote:
Hi
Hi,
if I try to create another volume using the previous one as
backing-vol,
the creation fails with what looks like an incorrect commandline for
lvcreate:
# virsh vol-create-as images_lvm myvol-instance 2G --backing-vol myvol
error: Failed to create vol myvol-instance
error: internal error Child process (/usr/sbin/lvcreate --name
myvol-instance -L 2097152K -s=/dev/libvirt_images_vg/myvol) unexpected
exit status 3: /usr/sbin/lvcreate: invalid option -- '='
Error during parsing of command line.
this has been fixed in 1.0.2 by commit ffee627a:
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=ffee627a
Exactly the same happens if I specify a qcow2 format (the doc however says
that The logical volume pool does not use the volume format type element).
Yes, volume format has no effect on logical pools.
Jan