[virt-clone] Refuses to create clone disk image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtinst (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Ubuntu 13.04 Raring amd64
$ apt-cache policy virtinst
virtinst:
Installed: 0.600.3-3ubuntu1
Candidate: 0.600.3-3ubuntu1
Version table:
*** 0.600.3-3ubuntu1 0
500 http://
100 /var/lib/
virt-clone refuses to clone disk image:
$ virt-clone --connect qemu:///system --original=
ERROR cannot stat file '/home/
$ kvm-img create -f vmdk CentOS6-RT-dev.vmdk 6G
Formatting 'CentOS6-
$ virt-clone --connect qemu:///system --original=
ERROR This will overwrite the existing path '/home/
$ virt-clone --connect qemu:///system --original=
ERROR Clone onto existing storage volume is not currently supported: '/home/
$ virt-clone --connect qemu:///system --original=
This will overwrite the existing path '/home/
Do you really want to use this disk (yes or no)
yes
ERROR Clone onto existing storage volume is not currently supported: '/home/
$ virt-clone --connect qemu:///system --original=
ERROR cannot stat file '/home/
Hi there.
First of all thanks for the software.
Second I can confirm the issue. Steps to reproduce:
ii virtinst 0.600.4-1 all Programs to create and clone virtual machines
1. Stop/undefine a VM
2. Remove disk and log file
3. Try to clone an existing VM with the file deleted on step 2 as destination