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

Re: df and du disagree



A long time ago, in a galaxy far, far way, someone said...

> I do not need to know what is using the missing space but I am intrigued as
> I believe du is correct.  There is only the stuff I expected on /dev/hda1
> and it puzzles me to see an extra 500 MB or so missing.
> 
> It has been suggested I try adding stuff until the disk is full for df but
> not for du.  This strikes me as risky.
> 
> Is there a tool that will allow me to see what is actually using the space?

The extra space isn't actually "being used".  mkfs.ext2 reserves a portion
of the file system (5% by defualt iirc but tunable with tune2fs) for use
by root.

500MB however seems a bit much, though, unless you're like me and put
everything in one or two partitions :)

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Reply to: