From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 07:16:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DEE816A52B for ; Thu, 22 Mar 2007 07:16:10 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2C913C44B for ; Thu, 22 Mar 2007 07:16:10 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from server25.gelita.swe (212-162-182-242.skbbip.com [212.162.182.242]) by mail.gelita.se (Postfix) with ESMTP id 7CA4F10FC25; Thu, 22 Mar 2007 08:16:03 +0100 (CET) Date: Thu, 22 Mar 2007 08:16:03 +0100 From: Anders Troback To: "Brian A. Seklecki" Message-ID: <20070322081603.6837c4e3@server25.gelita.swe> In-Reply-To: <1174509622.8113.7.camel@ingress> References: <20070321211112.3ff9bf94@devil.troback.com> <1174509622.8113.7.camel@ingress> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Troback-MailScanner-Information: Please contact the ISP for more information X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-From: freebsd@troback.com X-Spam-Status: No Cc: FreeBSD Subject: Re: Minus on disk:-) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 07:16:10 -0000 Thanks BAS for the very good explanation!!! \\troback On Wed, 21 Mar 2007 15:40:22 -0500 "Brian A. Seklecki" wrote: > On Wed, 2007-03-21 at 21:11 +0100, Anders Troback wrote: > > Disk status: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad8s2a 253678 124556 108828 53% / > > devfs 1 1 0 100% /dev > > /dev/ad8s2g 35796214 16027612 16904906 49% /home > > /dev/ad8s2e 1012974 -6 931944 -0% /tmp > > /dev/ad8s2f 20308398 15124786 3558942 81% /usr > > /dev/ad8s2d 1012974 258006 673932 28% /var > >=20 > > Hi, > >=20 > > I'm just curious about this! How can a FS have used -6 bytes? >=20 > By default, 8% of capacity is reserved for UID0 (root) and is not > represented in df(1). Read tunefs(8): >=20 > -m minfree > Specify the percentage of space held back from normal > users; the minimum free space threshold. The default value used is > 8%. Note that lowering the threshold can adversely affect perfor- > mance: >=20 > o Settings of 5% and less force space optimization to > always be used which will greatly increase the overhead for file > writes. >=20 > o The file system's ability to avoid fragmentation > will be reduced when the total free space, including the reserve, > drops below 15%. As free space approaches zero, > throughput can degrade by up to a factor of three over the performance > obtained at a 10% threshold. >=20 > 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. >=20 > Try this in fstab(5): >=20 > md /tmp mfs rw,-s64m,-m0 2 0 >=20 > ~BAS >=20 > >=20 > > As I said this is not a problem, I'm just curios about how things > > work (and can someone please tell me how to make that a -100 Gb:-)) > >=20 > > Thanks! --=20 Anders Trob=E4ck http://www.troback.com/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" --------------------------------------------