*BSD News Article 24584


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!newsflash.concordia.ca!sifon!homer.cs.mcgill.ca!storm
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [NetBSD 0.9] filesystem weirdness?
Date: 1 Dec 1993 17:50:31 GMT
Organization: SOCS, McGill University, Montreal, Canada
Lines: 42
Message-ID: <2dilh7$rf0@homer.cs.mcgill.ca>
References: <Added.EgzA4=200UdbQeJE5j@andrew.cmu.edu>
NNTP-Posting-Host: mnementh.cs.mcgill.ca

In article <Added.EgzA4=200UdbQeJE5j@andrew.cmu.edu>,
 <Todd.Williamson@IUS4.IUS.CS.CMU.EDU> wrote:
>
>I'm not sure whether I did something wrong, or if this is a "feature," 
>but I want it fixed:

	For a piece of free software that people are working on out
	of their own time on a volunteer basis, this last sentence
	was EXTREMELY poorly phrased.

>% df -k
>Filesystem   kbytes    used   avail capacity  Mounted on
>/dev/sd0a      7587    6677     151    98%    /
>kernfs            1       1       0   100%    /kern
>/dev/sd0e    191863  183348  -10672   106%    /usr
>
>Upon cursory examination, it seems like 10% of my filesystems is
>"reserved," and I have to be root in order to write in the last 10%.

	This is INHERENT to the way Berkeley Fast File System works.  It
	reservees 10% for performance improving scratch space and other
	things.  Using  this 10MB of disk space causes serious
	performance degradation.

>So, how to I fix this?

	If you don't like it, write a new filesystem that doesn't do this,
	otherwise, live with it.

	[There techincally IS a way to reduce the amount of space the OS
	reserves for this stuff in a filesystem, but I would recommend
	against it highly].


						Toodlepip!
						Marc 'em.

-- 
-----------------------------------------------------------------------------
Marc Wandschneider					    Seattle, WA
Barney the Dinosaur sings! You faint... Barney sings!  Barney sings! --More--
You Die... --More--