Always 100% disk use while disk is not full
Posted on 2009-02-14
A friend of mine asked me to look at his server because after a crash it seemed that the websites hosted on the server would not be available (couldn't find server). After some searching I'm fairly sure that Apache just crashes because if I reboot Apache it works again for a little while. I searched google for some answers and found one but I couldn't do anything because the server keeps telling me there is no disk space left. After deleting a few 100MB I still got the message there is no disk space left. I'm not that great with linux so I googled some more to find out the command to check disk space, I used this:
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 2.0G 633M 0 100% /
simfs 2.0G 633M 0 100% /tmp
simfs 2.0G 633M 0 100% /var/tmp
Nothing I do seems to fix this, the Use is always 100%. When I delete files the 'Used' amount decreases but the 'Use' perentage stays 100%. So it seems that linux thinks the server has no space left but that's not true. What can it be?