[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard disk becoming full quickly; available space inconsistencies.



scally@gmail.com wrote:
The server has only been up for a month, and over the last two weeks
the available disk space of /dev/sda1 is constantly decreasing. I'm
now nearly running out of space.

# du -s / |sort -n

...and then drill down to find where the space is being taken. This isn't perfect - it won't, for example, find files hidden in a mountpoint (ie, if you have files in /tmp but mount another partition over /tmp), but it doesn't sound as if you're doing that.

--
Keith Edmunds

+---------------------------------------------------------------------+
|  Tiger Computing Ltd  |  Helping businesses make the most of Linux  |
|  "The Linux Company"  |    http://www.TheLinuxConsultancy.co.uk     |
+---------------------------------------------------------------------+



Reply to: