Thanks
I have opened
https://bugzilla.redhat.com/show_bug.cgi?id=955371
as would be nice to get the fix in the packages of the distro
--------------------------------------------------
regards,
Edoardo Comar
WebSphere Application Service Platform for Networks (ASPN)
From: Ján Tomko <jtomko(a)redhat.com>
To: Edoardo Comar/UK/IBM@IBMGB,
Cc: libvirt-users(a)redhat.com
Date: 22/04/2013 19:02
Subject: Re: [libvirt-users] failure creating a snapshot volume
within a lvm-based pool
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
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU