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:
/var/lib/libvirt/images $ sudo cp centos7-1024ram-minimal.qcow2 centos7-1024ram-minimal-clone1.qcow2
/var/lib/libvirt/images $ sudo ls -al
total 18268668
drwx--x--x 2 root root 4096 Sep 23 11:59 .
drwxr-xr-x 7 root root 4096 Sep 22 11:03 ..
-rw------- 1 root root 12887130112 Sep 19 18:25 centos7-1024ram-dvd-1.qcow2
-rw------- 1 root root 12887130112 Sep 19 18:20 centos7-1024ram-dvd.qcow2
-rw------- 1 root root 15034941440 Sep 23 12:00 centos7-1024ram-minimal-clone1.qcow2
-rw------- 1 root root 15034941440 Sep 21 21:29 centos7-1024ram-minimal.qcow2
-rw------- 1 root root 12887130112 Sep 19 17:50 centos7-1024RAM.qcow2
-rw------- 1 root root 5306253312 Sep 20 15:46 centos7-1500ram-iso-clone1.qcow2
-rw------- 1 root root 5306253312 Sep 21 09:19 centos7-1500ram-iso-clone2.qcow2
-rw------- 1 root root 15034941440 Sep 20 15:22 centos7-1500ram-iso.qcow2
|
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.