troubleshooting Question

can't find why my / file system is 100% full on a DC/file server

Avatar of samkeen
samkeen asked on
15 Comments1 Solution496 ViewsLast Modified:

My server's config

DELL PE 2970 : 4GB RAM,RAID 1 with 2x500GB sata HDD
1 primary partition /boot - 250MB - EXT2
1 logical volume - LVM - 495GB

The logical volume is partitioned as the following :
/var 31GB - EXT3
/home 250 GB - EXT3
/ 50 GB - EXT3
swap 12GB
/usr - 30GB - EXT3
/tmp - 2GB - EXT3

remain free around 120GB
Last week when checking the disk space usage on the server, I found the  / file system is full

root@gege:/# df -kh

Filesystem            Size  Used Avail Use% Mounted on


                                        46G   45G     0 100% /

tmpfs                               2,0G     0  2,0G   0% /lib/init/rw

varrun                             2,0G  1,5M  2,0G   1% /var/run

varlock                           2,0G     0  2,0G   0% /var/lock

udev                               2,0G  160K  2,0G   1% /dev

tmpfs                              2,0G     0  2,0G   0% /dev/shm

lrm                                  2,0G  2,5M  2,0G   1% /lib/modules/2.6.28-19-server/volatile

/dev/sda1                       236M   34M  190M  16% /boot


                                       231G   84G  135G  39% /home


                                       1,9G   35M  1,8G   2% /tmp


                                       29G  1,2G   26G   5% /usr

/dev/mapper/gege-var   29G  2,6G   25G  10% /var
To find which file or directory that is consuming all that space disk I tried  the following on / but nothing in the result can help.

root@gege:/# du -kshc * |sort -n

0      cdrom

0      initrd.img

0      initrd.img.old

0      lib64

0      proc

0      sys

0      vmlinuz

0      vmlinuz.old

4,0K        mnt

4,0K       opt

4,0K       selinux

4,0K               srv

6,9M       etc

7,2M      bin

8,0K       media

8,2M      sbin

16K              lost+found

16K         tmp

28M       boot

38M              root

84G              home

87G              total

160K      dev

240M      lib

467M      var
963M      usr

If someone has any idea on what happens I will really appreciate.

thanks in advance.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros