Re: [Openstack] Folsom's `nova-compute` reports wrong amount of free disk space
Hello, regarding this question: On 6 June 2013 13:12, Riccardo Murri wrote: > (2) Most disk space seems to be wasted by old (and presumably failed) > image conversion attempts in `/var/lib/nova/instances/_base`. How > can we clean those up? Can we just delete the files or some > special care / database edit is needed? We have found that the default setting `image_cache_manager_interval=0` effectively *disables* the image cache manager, but it still shows up as running in the logs. I've reported this as a bug: https://bugs.launchpad.net/nova/+bug/1188226 After setting image_cache_manager_interval to >0, the nova-compute process took care of wiping the unused base files and now the nodes are functional again. Ciao, Riccardo -- Riccardo Murri http://www.gc3.uzh.ch/people/rm Grid Computing Competence Centre University of Zurich Winterthurerstrasse 190, CH-8057 Zürich (Switzerland) Tel: +41 44 635 4222 Fax: +41 44 635 6888 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Folsom's `nova-compute` reports wrong amount of free disk space
nova 21474836480 apr 26 14:27 7e93ee4745fe5a825aff33d0731b12ade576fffc -rw-r--r-- 1 libvirt-qemu kvm 21474836480 apr 26 14:35 7e93ee4745fe5a825aff33d0731b12ade576fffc_20 -rw-r--r-- 1 nova nova 5368709120 apr 10 11:24 90551e161412bd971a2f323fd9cb9d8b96a56f5f -rw-r--r-- 1 libvirt-qemu kvm 107374182400 apr 29 17:16 90551e161412bd971a2f323fd9cb9d8b96a56f5f_100 -rw-r--r-- 1 libvirt-qemu kvm 21474836480 apr 10 11:37 90551e161412bd971a2f323fd9cb9d8b96a56f5f_20 -rw-r--r-- 1 libvirt-qemu kvm5368709120 apr 10 11:24 90551e161412bd971a2f323fd9cb9d8b96a56f5f_5 -rw-r--r-- 1 libvirt-qemu kvm 85899345920 apr 17 20:42 90551e161412bd971a2f323fd9cb9d8b96a56f5f_80 -rw-r--r-- 1 nova nova 21474836480 mag 14 16:40 db5ff3aeff506b37035f0ff1c07acf96311f1172 -rw-r--r-- 1 libvirt-qemu kvm 21474836480 mag 14 16:43 db5ff3aeff506b37035f0ff1c07acf96311f1172_20 -rw-r--r-- 1 nova nova 107374182400 apr 29 17:17 ephemeral_0_100_None -rw-r--r-- 1 libvirt-qemu kvm 107374182400 apr 29 17:17 ephemeral_0_100_None_100 -rw-r--r-- 1 nova nova 21474836480 mag 27 14:46 ephemeral_0_20_None -rw-r--r-- 1 libvirt-qemu kvm 21474836480 mag 27 14:46 ephemeral_0_20_None_20 However, only one file in `instances/_base` is in use (both instances use the same base image): root@node-09-02-11:/var/lib/nova/instances/_base# fuser -v * USERPID ACCESS COMMAND /var/lib/nova/instances/_base/90551e161412bd971a2f323fd9cb9d8b96a56f5f_5: libvirt-qemu 3225 f kvm libvirt-qemu 24110 f kvm Can the other files in `_base` be safely deleted? Thanks for any help, Riccardo -- Riccardo Murri http://www.gc3.uzh.ch/people/rm Grid Computing Competence Centre University of Zurich Winterthurerstrasse 190, CH-8057 Zürich (Switzerland) Tel: +41 44 635 4222 Fax: +41 44 635 6888 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp