Determining What's using all the disk

Discussion in 'Server Operation' started by tfunky, Feb 23, 2008.

  1. tfunky

    tfunky New Member

    I tried to upgrade a package and it failed, so after digging around I noticed the my root partition is 100% full. :eek:

    This is a Etch system. Here is a copy of the output of dff -h

    Code:
    db:~# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/db-root
                          268M  268M     0 100% /
    tmpfs                 189M     0  189M   0% /lib/init/rw
    udev                   10M   52K   10M   1% /dev
    tmpfs                 189M     0  189M   0% /dev/shm
    /dev/sda1             236M   13M  211M   6% /boot
    /dev/mapper/db-home
                          186G  825M  176G   1% /home
    /dev/mapper/db-tmp
                          380M   11M  350M   3% /tmp
    /dev/mapper/db-usr
                          4.7G  482M  4.0G  11% /usr
    /dev/mapper/db-var
                          2.9G  346M  2.4G  13% /var
    db:~#
    
    As you can see everything is setup on on separate partitions.

    How can I figure out what is burning up all the hard drive space on the root partition?

    Thanks for any help!!!!
     
  2. topdog

    topdog Active Member

    Code:
    cd /
    du -hs *
    
     

Share This Page