From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 16:39:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7242C16A4CE for ; Tue, 19 Apr 2005 16:39:51 +0000 (GMT) Received: from zhonka1.zhonka.net (zhonka1.zhonka.net [66.228.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEF8143D49 for ; Tue, 19 Apr 2005 16:39:50 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com ([66.228.196.74]) by zhonka1.zhonka.net (Post.Office MTA v3.5.3 release 223 ID# 0-58414U4500L450S0V35) with ESMTP id net; Tue, 19 Apr 2005 09:39:50 -0700 Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 0EE085827; Tue, 19 Apr 2005 09:39:46 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24520-06; Tue, 19 Apr 2005 09:39:45 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id CAB915826; Tue, 19 Apr 2005 09:39:45 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id C6C915825; Tue, 19 Apr 2005 09:39:45 -0700 (PDT) Date: Tue, 19 Apr 2005 09:39:45 -0700 (PDT) From: Philip Hallstrom To: Osmany Guirola Cruz In-Reply-To: <1113914239.70976.6.camel@draco.cigb.edu.cu> Message-ID: <20050419093836.M24860@wolf.pjkh.com> References: <20050403223444.S53903@frambozen.monochrome.org> <1113914239.70976.6.camel@draco.cigb.edu.cu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at pjkh.com cc: freebsd-questions@freebsd.org Subject: Re: df question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 16:39:51 -0000 > Hi people > > I do df -h on my machine and got this RARE ouput > > %df -h > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 7.7G 2.2G 4.9G 31% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1d 65G 9.5G 50G 16% /usr/home > > %df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 8122126 2328406 5143950 31% / > devfs 1 1 0 100% /dev > /dev/ad0s1d 68372608 9940308 52962492 16% /usr/home > > 50G+9.5G=60.5G but the partition size is 65G ... where are my ~5G,? > What can i do? Accept it :-) Or change the minimum free space on the drive. Here's the relevant part of the tunefs manpage: -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. I haven't checked, but I suspect the FAQ and Handbook at www.freebsd.org have more information on this... -philip