Monday, 19. September 2011 10:09
Ok… this has happened to me twice, and I forgot I solved this problem the first time so I just wasted some time figuring this out again… so, I figure I’ll post so the next time I google, maybe I’ll find my own post…
The Problem:
Squid, and various other processes start crashing and the like reporting no space left on device. You check all your mounts and there is plenty of space everywhere.
Aggrevating Circumstance:
You are running SARG and you have a client or the like that likes keeping daily reports.. and you prob have several months of them.
What Happened:
A daily report for SARG creates tons of files and you have basically blown through all your inodes for the disk, which unfortunately you cannot increase (ext2/3).
You can see this be issuing the following as root:
df -i
Solution:
Start deleting some of those daily reports… I went from 100% full on a 20G /var partition to 15% by deleting about 4 months of these reports… Only other solutions involve backing up, fdisk’ng disk with more inodes and restoring…
Hope this helps…