Ben Clay
2011-Nov-01 21:14 UTC
[libvirt-users] CentOS5: libvirtd filling up /var/lib/libvirt/qemu/save
How can I disable libvirtd from attempting to suspend VMs on poweroff / reboot? It is slowly filling up our /var/ filesystem with save points at /var/lib/libvirt/qemu/save/<vm name>.save, even though I'm not initiating any suspend or restore functionality. I checked /etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf but could not find anything. This is CentOS 5 with libvirt 0.8.2-22 and kvm-83-239. Thanks. Ben Clay <mailto:rbclay at ncsu.edu> rbclay at ncsu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111101/3d84a614/attachment.htm>
Jiri Denemark
2011-Nov-02 09:39 UTC
[libvirt-users] CentOS5: libvirtd filling up /var/lib/libvirt/qemu/save
On Tue, Nov 01, 2011 at 17:14:47 -0400, Ben Clay wrote:> How can I disable libvirtd from attempting to suspend VMs on poweroff / > reboot?There is a separate init script which provides this feature. All you need to do is to disable it: chkconfig libvirt-guests off Alternatively, you may configure it to shutdown your VMs instead of suspending them. See /etc/sysconfig/libvirt-guests.> It is slowly filling up our /var/ filesystem with save points at > /var/lib/libvirt/qemu/save/<vm name>.saveIIRC, that libvirt version had a bug that save files were not removed after successful resume, which I believe is fixed in current release. Jirka
Possibly Parallel Threads
- auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation
- build error on CentOS 5
- no callback on VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE in 0.10.2
- cgroup blkio.weight working, but not for KVM guests
- Virt-io Kernels for older RHEL/CentOS versions