disk usage
Daniel Feenberg
feenberg-fCu/yNAGv6M at public.gmane.org
Tue Nov 24 10:05:56 EST 2009
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
>
More information about the Discuss
mailing list