*BSD News Article 15404


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!newsflash.concordia.ca!sifon!storm
From: storm@cs.mcgill.ca (Marc Wandschneider)
Subject: Re: df's accuracy?
Message-ID: <1993Apr30.150535.6370@sifon.cc.mcgill.ca>
Sender: news@sifon.cc.mcgill.ca
Organization: SOCS - Mcgill University, Montreal, Canada
References: <1rr944$5ii@lobster.sid.mcet.edu>
Date: Fri, 30 Apr 1993 15:05:35 GMT
Lines: 28

In article <1rr944$5ii@lobster.sid.mcet.edu> johnj@lobster.sid.mcet.edu (John Jackson) writes:
>Hi all!
>
>
>	I have a question for you.  I have a 498MB partition for news.
>I have noticed that when the filesystem get to having ~450MB in it df reports
>that it is 100% used and no space is left.  However, news being the
>volumnous thing that it is, occasionally usage has gotten ahead of my zealous
>expiration efforts and filled the filesystem up to ~470MB.  At that point
>df reports that there is actually negative space available and that it is
>~104% full.  My question is, why does df say that the filesystem is at

	UNIX file systems tend to reserver something like 10% of the disk
for their own use---optimization space and i-node information or something
like that (I'm not sure EXACTLY what it is).

	Thus, on a 500MB partition, you'll get a full disk after you've put
450MB of stuff on it (since 50MB are held)....However, sometimes the system
will still let you cram a few extra megs onto the drive, hence the 104% 
capacity.

	Toodlepip!
	Marc 'em.
-- 
----------------------------------------------------------------------------
         storm@cs.mcgill.ca           SOCS Staff, McGill University
         Marc Wandschneider                   (514)398-5924
 386bsd--ftp agate.berkeley.edu:/pub/386BSD/386bsd-0.1, mail for FAQ info