du and df don't agree

Eugene Grosbein eugen at kuzbass.ru
Mon Nov 10 08:51:57 PST 2008


On Mon, Nov 10, 2008 at 11:01:00AM -0500, Stephen Clark wrote:

> Why would du show 630k used by /tmp while df show 161M used
> by /tmp?
> 
> I have run fstat /tmp and can't find any files that are using
> the space that df is claiming as being used.

You need lsof +aL1 /tmp to see an answer.

Eugene Grosbein


More information about the freebsd-stable mailing list