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

Thomas Cameron thomas.cameron at camerontech.com
Sat Apr 22 20:55:55 UTC 2006


Jim Christiansen wrote:
> Hello Thomas -  Thanks for looking at this.  I hope I got your email 
> right!
> -----------------------
> Or run as root:
>
> du -hs /*
>
> This will tell you how much space each directory is taking. I'm 
> betting your /var directory is full of something.
> -------------------------
> This shows:
>
> 7.6M    /bin
> 7.7M    /boot
> 136K    /dev
> 104M    /etc
> 1.5M    /gtypist-2.6.2-buildroot
> 39G     /home
> 96K     /k12ltsp-release-root
> 194M    /lib
> 18M     /lib64
> 16K     /lost+found
> 8.0K    /media
> 8.0K    /misc
> 8.0K    /mnt
> 0       /net
> 86G     /old-slash
> 545M    /opt
> 2.1G    /proc
> 4.6M    /root
> 23M     /sbin
> 8.0K    /selinux
> 20K     /srv
> 0       /sys
> 16M     /tftpboot
> 808K    /tmp
> 5.7G    /usr
> 16G     /var
>
> /home and /old-slash are different partitions:
> [root at christiansens ~]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1              48G   48G     0 100% /
> tmpfs                1004M     0 1004M   0% /dev/shm
> /dev/sda3              96G   40G   52G  44% /home
> /dev/sdb1             143G   86G   50G  64% /old-slash
>
> So...  Everything on /dev/sda1 should add up to something roughly 25 
> gigs, not 48!!!
>
> Help!
>
> Thanks, Jim
>

I'm betting there is some process which is holding a file handle open 
even though something has been deleted.  Reboot and I bet you get the 
free space back.

Thomas




More information about the users mailing list