50 gig slash went from 25 gig to 50 gigs- full over night

Tony Nelson tonynelson at georgeanelson.com
Sun Apr 23 18:20:52 UTC 2006


At 2:49 PM -0600 4/22/06, Jim Christiansen wrote:

>Hello Thomas -  Thanks for looking at this.  I hope I got your email right!
>-----------------------
>>Or run as root:
>>
>>du -hs /*

>/home and /old-slash are different partitions:

FWIW, for such a situation I prefer:

    # du -hxa --max-depth=1 /

"x" keeps it on /, avoiding mounts like /home, etc (though in your case it
wouldn't help as you'd mounted over the directory which was using the
space).  "a" shows files as well as directories.  "--max-depth=1" does all
the stuff in the given directory -- shell globbing won't show hidden files
or directories.  Change --max-depth to 2 for more detail.  A total is
printed, so no math is needed.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list