Disk space

Michael mogmios at mlug.missouri.edu
Thu Jul 11 07:58:00 CDT 2002


> What is the easiest way to find where my disk space is being taken up?
> On one of my servers I have three partitions: /, /var, and /boot. I used
> `df` to show me how much space I have left and I find my root partition
> is almost full. What is the easiest way to find out what directories
> contain the most data similar to the way df displays partition
> consumption. I need to hunt down and figure out what files are growing
> off the root and move them somewhere else.

I'd do a 'du -m' now and another in a couple hours and run the two results
through 'diff' to find where the growth was. Do you have any log files or
backups that might not be being saved in /var? Those are the two primary
things that usually are the evils when you see growth like that. Maybe
something in /home from one of your users?




More information about the Kclug mailing list