John,

Start by doing a cd to / (root directory). Then (as superuser, just to
eliminate annoying "permission denied" messages) do:

du -sh * | more

Which will give you the disk usage of all the subdirectories. One of
them will likely be much bigger than the others (probably /var). If so,
cd to that directory, and repeat the above command. By repeating that
sequence, you'll find the biggest problems.

Also, you'll probably want to look at a better partitioning scheme to
limit the damage when/if this happens again. For a system like yours,
probably a scheme like the following:

/dev/hda1   200MB  <swap> 
/dev/hda2   5GB    /
/dev/hda3   2GB    /usr
/dev/hda4   (everything else) /var

Push more onto the / partition if your /home gets real big, more onto
/usr if /usr/local/src gets big, and more onto /var if your logs are
killing you for some reason.

--Rich


John Foster wrote:
> 
> I am running a mixed testing/unstable system and after my last upgrade I
> have 2 new problems. My test system is on a 13.3 Gb drive and I have
> been at 63% full for about a year. I was downloading some mail and got a
> disk full error. I had NEVER seen this before on any of my Linux
> systems. I checked and sure enough the disk is showing 100% full. I
> moved a bunch of old archives (about 7%) off it and left it sit for a
> day. When I came back it was completely full again. Any ideas on how to
> locate the problem. I have NO Clue.
> Thanks!
> John
> 
>
-- 

_________________________________________________________
                         
Rich Puhek               
ETN Systems Inc.         
_________________________________________________________

Reply via email to