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 Nov 24, 2009, at 9:56 AM, 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?

Some large file that has been "deleted", but isn't really deleted yet, because the refcount on it hasn't dropped to zero yet, due to it being held open by some program? (I'm assuming you've already looked for massive /.foo files).

-- 
Jarod Wilson
jarod-ajLrJawYSntWk0Htik3J/w at public.gmane.org










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