[CentOS] disk space issues...any help is greatly appreciated

William L. Maltby CentOS4Bill at triad.rr.com
Wed Nov 26 15:07:52 UTC 2008


On Wed, 2008-11-26 at 09:50 -0500, Ray Leventhal wrote:
> Hi all,
> 
> Please pardon my newbie-ness on this issue....I've a / partition which 
> is full (quite suddenly, actually) and I'm not sure how to fix this.
> 
> I've searched for uneeded logs, etc in /var/log and /tmp to no avail. 
> The system is CentOS 5.2 and is not connected to the internet, serves as 
> a local LAN server running stock stuff...sendmail, dovecot, 
> apache..nothing strange or special going on.

I suggest "man du ..." with the -x or --one-file-system flag along with
the others. That will tell you where the largest stuf is at. Then you
can cd into suspect places and do it again to get clues as to the hogs.

> 
> I have additional HDDs available if growing the partition is in order 
> (would appreciate pointers to that, if applicable), but I'm really 
> stumped as to where the space is being eaten up.

If you need to do that after the above investigation, it will not be
hard as pvcreate and lgexpand (?, man not at hand) will allow easy
expansion.

<snip>

HTH
-- 
Bill





More information about the CentOS mailing list