We help IT Professionals succeed at work.
Get Started

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

samkeen
samkeen asked
on
493 Views
Last Modified: 2012-05-11
Hi,

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

/dev/mapper/gege-root

                                        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

/dev/mapper/gege-home

                                       231G   84G  135G  39% /home

/dev/mapper/gege-temp

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

/dev/mapper/gege-user

                                       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.

Many
thanks in advance.

Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 15 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE