Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disk usage




On Tue, 24 Nov 2009, Matthew Gillen wrote:

> I'm stumped by my home fileserver's root filesystem usage.  I can't understand
> why it's full.  df -h reports this:
>
> $ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/RootFsPrimary-RootPrimary
>                       30G   28G  460M  99% /
>
> If I mount /dev/mapper/RootFsPrimary-RootPrimary somewhere else and cd to it,
> then run du -sh *, I get this (I deleted all the directories that were only 4K):
> 7.0M	bin
> 12K	dev
> 102M	etc
> 98M	lib
> 26M	lib64
> 20K	lost+found
> 12K	mnt
> 24M	root
> 17M	sbin
> 68K	tmp
> 4.9G	usr
> 1.1G	var
>
> That adds up to less than 7G.  Why is my filesystem full then?  Where did that
> other 21G go?  Any ideas?

A running program that has open a deleted file will prevent the space 
occupied by the file from being returned to free space, but the file will 
not show up in "du". When the program terminates the space will be freed. 
If your reboot the space should reappear. Short of rebooting, or guessing, 
I am not sure how to determine what is using the space.

Daniel Feenberg

>
> Thanks,
> Matt
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org