Missing images in virt-manager GUI display
I want to backup and made extra copies of KVM images.
And thought if I want to transfer a KVM image to another distribution, I just have to copy it into virt-manager's image folder. and run it via virt-manager again. I made a copy of a VM image like so: NOTE: There are some copies that were deleted using virt-manager, but still shows up in the listing below. WHY? Quote:
But my manually copied image (centos7-1500ram-iso-clone1.qcow2) does not show up in virt-manager! Likewise, some images in above listing did not show up in virt-manager app. I closed and restart virt-manager mutiple times. Same missing images occurs. The images that were installed or cloned by virt-manager shows up. Those I deleted using virt-manager disappeared from virt-manager's GUI, but seems to still exists in /var/lib/libvirt/images. WHY? If I am not able to see those copied images, then I cannot start or reconfigure a (K)VM image using virt-manager, obviously .... So how do I make virt-manager display manually copied (cloned) images in its /var/lib/libvirt/images directory? Thank you. |
Maybe click on the Refresh "Volume List" button?
|
@gradinaruvasile:
Where is Refresh "Volume List" in virt-manager? |
re
try
virsh --connect qemu:///system list and open again virt manager or virsh --connect qemu:///system start .img and open manager again |
1 Attachment(s)
Quote:
|
@gradinaruvasile:
Your screenshot, it is virt-manager? My virt-manager do not have those types of GUI. It looks like this: https://www.virt-manager.org/wp-cont...er-vm-list.png I am using Linuxx Mint 18. What OS is your host? What is the name of your app? |
It's virt-manager 1.4.0 on Debian Testing. The screen i shown is when you click edit->connection details->storage tab.
|
@end:
Tried all your methods. None of them seems to work. Quote:
|
replace .img with your centos7-1500ram-iso-clone1.qcow2 or any other
virsh --connect qemu:///system start virsh centos7-1500ram-iso-clone1.qcow2 or try coppy with this command cp -adpR centos7-1500ram-iso-clone1.qcow2 i follow http://techlinux.net/2014/09/kvm-centos-7/ http://www.charleslabri.com/installi...7-x64-and-kvm/ |
@gradinaruvasile:
i did this: Quote:
BUT it did not show up in the app's main display area like this: https://www.virt-manager.org/wp-cont...er-vm-list.png Then I tried to run it: Quote:
So it seems I may have to use virt-clone utility like so for it to show up in virt-manager: Quote:
|
Well. You should RTM.A qcow2 file is JUST a virtual hdd imge. It is NOT a virtual machine definition file. Ergo, copying it will NOT create a new virtual machine.
The libvirt vm definition files are in xml format here (this is for Debian, i suppose these are the same for all distros): Code:
/etc/libvirt/qemu/{vmname}.xml |
@gradinaruvasile:
Need elaboration: Quote:
So the only way to clone is to use virt-clone or virt-manager. |
Quote:
Quote:
PS I wanted to be sarcastic here, but it seems googling RTM might not be as straightforward as i thought for someone not familiar with the term. Also, although wikipedia is the first on the hit list it also provides a long list of meanings - still under the section "Technology and Internet" the first link is "Read the manual" (which redirects to RTFM ...) |
All times are GMT -5. The time now is 01:22 PM. |