[virt-tools-list] virt-clone --preserve-data complains about missing disk image

Harald Dunkel harald.dunkel at aixigo.de
Wed Jan 11 13:13:19 UTC 2012


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.


Regards

Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-clone.log.gz
Type: application/gzip
Size: 698 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120111/e3a9311d/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openSUSE-11.3-i386-template.xml
Type: text/xml
Size: 2014 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20120111/e3a9311d/attachment.xml>


More information about the virt-tools-list mailing list