From owner-freebsd-questions Fri Jan 11 1: 8:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 3406A37B927 for ; Fri, 11 Jan 2002 01:04:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fremont.bolingbroke.com (8.12.1/8.12.1) with ESMTP id g0B93ps6032985; Fri, 11 Jan 2002 01:03:51 -0800 (PST) Date: Fri, 11 Jan 2002 01:03:51 -0800 (PST) From: Ken Bolingbroke X-X-Sender: ken@fremont.bolingbroke.com To: RJ45 Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to gain more space from filesystem on FreeBSD? In-Reply-To: Message-ID: <20020111005649.T5440-100000@fremont.bolingbroke.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 11 Jan 2002, RJ45 wrote: > I have this 100GB disk > /dev/ad1e 96159230 2 88466490 0% /vacancy > > nearly 10GB are lost in overhead. > How can I Reduce the FS overhead? > And if I can do it what are the consequences for performance? > thanks a lot From 'man tunefs' -m minfree Specify the percentage of space held back from normal users; the minimum free space threshold. The default value used is 8%. This value can be set to zero, however up to a factor of three in throughput will be lost over the performance obtained at a 10% threshold. Settings of 5% and less force space optimization to always be used which will greatly increase the overhead for file writes. Note that if the value is raised above the current usage level, users will be unable to allocate files until enough files have been deleted to get under the higher threshold. As noted, by default 8% of the file system is reserved for the root user (which would be ~8GB in your case). It's still there, it's just that only the root user can use it if the filesystem should be filled up. You can adjust the default to get some of the space back, just note the warning on performance impact. Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message