[virt-tools-list] virt-clone --preserve-data complains about missing disk image
Cole Robinson
crobinso at redhat.com
Fri Jan 13 01:13:02 UTC 2012
On 01/11/2012 08:13 AM, Harald Dunkel wrote:
> Hi folks,
>
> I am trying to clone a virtual machine from a template
> on a remote host using this procedure:
>
> # export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
> # masterhost=dpcl082
> # master=openSUSE-11.3-i386-template
> # name=sepos11i004
> # virsh vol-create-as storage ${name}.vda.lv 32G
> # ssh ${masterhost} dd if=/dev/storage/${master}.vda.lv bs=64k | dd bs=64k of=/dev/storage/${name}.vda.lv
> # virt-clone --connect ${VIRSH_DEFAULT_CONNECT_URI} --original-xml=/tmp/${master}.xml --name=${name} --file=/dev/storage/${name}.vda.lv --preserve-data
> ERROR Could not determine original disk information: Size must be specified for non existent volume path '/dev/storage/openSUSE-11.3-i386-template.vda.lv'
>
>
> Please note that the "openSUSE-11.3-i386-template.vda.lv" image
> is the _source_ disk on the remote host, not the prepared
> local copy.
>
> In the past this procedure worked fine (and fast!), but since I
> moved to version 0.6 virt-clone takes ages, and then I get the
> error message about the missing disk image.
>
> How can I tell virt-clone to accept the prepared disk image
> as is?
>
> Any helpful comment would be highly appreciated.
>
Thanks for the report and sorry about the regression.
Can you provide --debug output of the failing command?
Thanks,
Cole
More information about the virt-tools-list
mailing list