How do I retrieve missing VMs?
Hi,
I am new to linux world. I am using Fedora20 machine. Using KVM (virt-manager) I created two VMs. Everything was working fine till yesterday.
For some reason, my laptop ran out of battery and got shut down unexpectedly. And today when I opened the virt-manager GUI, it doesn't list those VMs.
Initially opening virt-manager gave an error - "system policy prevents management of local virtualized systems" and prompts for admin password. After googling a bit, I re-installed lib-virt hoping it would solve the problem. It did solve partially. I do not get that error message but the VM's are still missing :( :( .
I have lots of my work stored in those VMs. Yesterday I have installed libxm2/libxml2-devel and python-devel packages. I am not sure if installing these packages or unexpected shut down had caused this issue.
[root@skoduri redhat]# virsh list --all Id Name State ---------------------------------------------------- [root@skoduri redhat]# ls /var/log/libvirt/qemu/ rhel6.log rhel6-vm1.log rhel6-vm2.log rhel6-vm3-clone.log rhel6-vm3.log rhel6-vm4.log [root@skoduri redhat]# cat /etc/libvirt/qemu/ cat: /etc/libvirt/qemu/: Is a directory [root@skoduri redhat]# ls /etc/libvirt/qemu/ networks rhel6-vm2.xml rhel6.xml [root@skoduri redhat]#
Kindly help me out in restoring those VMs.
Thanks, Soumya
ls /var/lib/libvirt/images/
It doesn't list any images. :(
I just realised that instead of using default FS location (/var/lib/libvirt/images), I added new storage path to store the VM images