kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.08k stars 365 forks source link

img disappeared from storage after deleting another guest and rebooting #1276

Open Gardinero opened 4 years ago

Gardinero commented 4 years ago

Hi,

I have the following issues. I have a couple of guest domains with one running Zentyal as a file server. The files have been on an image in the storage pool. A couple of days ago, I wanted to remove different offline guest, I do not need any more.

One of them was a clone of my file server vm guest. So I removed it using kimchi.

Some days later I had to reboot my host machine, so I shut down all running guests and did the reboot.

When I was starting all systems again, I got an error message concerning my file server vm, that the image xyz.img, the storage volume with all my files could not be found.

I searched the whole machine, but it is gone... Is it possible, that the storage was deleted through the deletion of its clone because it was connected to that storage as well?

What I do not understand is the fact, that my file server vm was running without any problems until the reboot.

I have no clue, what has happened to my storage image.

Thanks in advance for any help.

Lars

alinefm commented 4 years ago

Hi @Gardinero

I tried to reproduce what you said, but I couldn't.

I created a VM and clone it. And later on, I deleted the cloned VM. It was deleted without affecting the original VM. I can see the disk image created when cloning the new one was removed but the original kept with the disks normally.

I am not sure if you have a different behavior due to Zentyal as a file server.

ifairyun commented 4 years ago

I also encountered this situation. One day, the company noticed that the power supply system would be repaired. Then I shut down the server. When I turned it on again, two virtual machines could not find the img file, and the other 20 virtual machines were normal.

alinefm commented 4 years ago

@ifairyun could you give more details about your setup? was it a special file system?