[CentOS] CentOS 5 Xen Files Left in /var/lib/xen ..

Wed May 9 12:15:31 UTC 2007
Daniel de Kok <danieldk at pobox.com>

On Wed, 2007-05-09 at 10:13 +1000, Graham Jenkins wrote:
> I have a machine with four guests on it, and it seems to create and
> leave lots of files with names like vmlinuz.LqKA3h and initrd.kolvQu in
> directory /var/lib/xen. The remain there even when all guests are
> gracefully shut down .. and additional ones get created when they are
> next started.
> 
> The end result, of course, is that the root file system fills up. So ..
> how can I prevent this from happening?

These files are normally automatically unlinked by xend after the domain
initialization. The most obvious way this unlinking does not happen is
when the domain initialization fails in some way, for instance when you
are trying to (re)create a domain that is already running.

-- Daniel