/ (root) partition full

Mike McCarty mike.mccarty at sbcglobal.net
Fri Jan 13 17:05:22 UTC 2006


Gordon R. Keehn wrote:
> Hi, Anyone
>    Before we left for the Christmas holiday, I powered down my FC4 box. 
>  (My wife is paranoid that way.)  KDiskFree showed my root partition a 
> bit over 50% full.  Within hours of starting it up again a few days ago, 
> it was pushing 100%, and I haven't been able to find the culprit.  The 
> file system is reiserfs (I installed FC4 over an old SuSE distro), if 
> that makes a difference.  Has anyone run into this?  Is there a tool I 
> can use to report the space occupied by each folder, to try to identify 
> the cause?  I've deleted some old stuff from /var and /tmp, but that 
> only recovered about 350 mB;  I'm still missing some 5 gig.
>    Cheers,
> Gordon Keehn
> 

I have a little script in the path for root which I call dirsize.

# cat dirsize
du -sm $(find $1 -type d -maxdepth 1 -xdev) | sort -gr

You may find this useful.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list