[lug] Cleaning up /var when it gets too full
bof at pcisys.net
Mon Sep 16 09:11:46 MDT 2002
Sexton, George wrote:
>It would be helpful if you did
>du -s *
>from the /var directory so you could see where your space is going.
Here's the listing of /var using du -sh *
It would appear that the lib directory is taking up most of the space.
So using du -sh * against lib, I find
So most of the space is taken up by rpmrebuilddb and the dbbackup
directory, the contents of which are
From the above, I gather that I can delete the first three rpm files,
and the rpmrepbuilddb.18035 file to regain almost 60 Mb of space.
I don't use mason, so I've uninstalled it.
Is there anything else I could delete safely?
And what about regaining space automatically? I do use logrotate for
keep my log files, but is there anything else I could be doing?
More information about the LUG