I have a domain 'host10' that no longer exists on the system. The config file was renamed, the configuration changed to point to a different .img, and the image name was renamed as well.

I've done this multiple times, in the end I renamed and moved 10 domU's. This is the ONLY one that continuously tries to restore when the system boots.

How can I prevent xend from trying to restore a deleted VM? I removed the symlink out of /etc/xen/auto, to no avail.

link|improve this question

29% accept rate
feedback

1 Answer

up vote 0 down vote accepted

Xen makes a file, called a save file, in my case (CentOS 5.6) it was in /var/lib/xen/save. I did an rm on that file, and now it no longer attempts to restore this deleted VM.

link|improve this answer
Perhaps you should disable this function. We had here the problem that there was an old snapshot of an mashine in this folder. And after a long time we made a reboot and they restored the old snapshot. After that the filesystem in the disk was broken. Perhaps it was only a bug but i don't know. – Stony May 26 '11 at 7:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.