[clue-tech] Missing disk space?

Angelo Bertolli angelo at freeshell.org
Wed May 25 21:03:51 MDT 2005


David Anselmi wrote:

> /home is 1.5G by df and 1.4G by du.  The difference when I look at 1k 
> blocks is about 50MB so for large filesystems it isn't very noticable.
>
> /tmp is 4.1MB by df and 32kB by du.  Let's see what's in there.  
> Various  directories reported at 1k contain nothing but sockets.  One 
> directory does have files and is reported at 8k.  lost+found is 
> reported at 12k even though it's empty.
>
> So it looks like du reports disk blocks used--that's blocks in use due 
> to a file, not bytes (see --apparent-size).  And df probably reports 
> something similar, but since is shows more space used it must be 
> counting other things--superblocks, inode lists, and other fs 
> overhead, maybe.


Well this sort of makes sense.  The amount of extra disk space used by 
your /home and /tmp directories seem to be in some way proportional to 
their size.  Since my fs is about 4GB, I think it could just be the 
inode table.  At least it's a believable enough explanation to make me 
not worry about it ;)



More information about the clue-tech mailing list