On Thu, Nov 20, 2003 at 04:10:04PM +0530, Keith Fernandez wrote:

> > I believe this must be the size that is taken up by the filesystem
> > data itself ...
> 
> Just one more question, Would there be such a huge difference.
> 33k is what the file system is using, 33 MB is what showing and 400 MB Is the 
> difference between total size and available.

I guess Amitay's already explained where the missing space is!

> More importantly is there any way to correct this. 
> Can I get usage stats of my hdd which are much more reliable.
> I did try "sync" but that did not seem to help.

"sync" doesn't matter ... it only flushes the data in the buffers to
the hard disk. What you need to do is make sure that there are no open
files (one step is to stop all services that open log files). Then use
"df" (not du), since it will show you the _actual_ available space on
your disk. "du" will show you exact sizes of files, but that's not the
same as the space they take up on the disk. "df" understands the
properties of whatever filesystem you are using, and hence shows you
whats really happening.

Sameer.
-- 
Research Scholar, KReSIT, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to