I have run "df -kh" on my FreeBSD box and I see that /var is near 100% full. It was over but I have trimmed what I can but there is less then 500MB total on the partition according to running "du -ksh *" while in /var. The /var partition itself is 6.8G and it now says it only has 18M free. It just does not add up.
I run the following command I do not find any culprits.
find . -type f -size +2000 -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
I even drill down folder by folder using "du -ksh *" to identify the folders with lots of disk usage but I cannot find how it all adds up. I would like to compress, delete or move files in order to free up more space since the other partitions have space, but between df and du I cannot seem to find what is using all the disk space.
What else should I do to find the files and folders taking up all the space?
ls
won't report disk space used - for lots of small files this can add up. Do you have spare capacity to just create a bigger /var?.*
file in the root of /var?