From owner-freebsd-stable@FreeBSD.ORG Fri Jun 10 02:32:10 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1594316A421; Fri, 10 Jun 2005 02:32:10 +0000 (GMT) (envelope-from zanchey@ucc.gu.uwa.edu.au) Received: from asclepius.uwa.edu.au (asclepius3.uwa.edu.au [130.95.128.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9235643D49; Fri, 10 Jun 2005 02:32:09 +0000 (GMT) (envelope-from zanchey@ucc.gu.uwa.edu.au) Received: from asclepius.kas (localhost.localdomain [127.0.0.1]) by asclepius.uwa.edu.au (Postfix) with SMTP id 28FF9183A72; Fri, 10 Jun 2005 10:32:07 +0800 (WST) Received: from asclepius (localhost.localdomain [127.0.0.1]) by asclepius.prekas (Postfix) with SMTP id 1924B183981; Fri, 10 Jun 2005 10:32:07 +0800 (WST) X-UWA-Client-IP: 130.95.13.9 (UWA) Received: from mooneye.ucc.gu.uwa.edu.au (mooneye.ucc.gu.uwa.edu.au [130.95.13.9]) by asclepius.input (Postfix) with ESMTP id F3A2A1837E9; Fri, 10 Jun 2005 10:32:06 +0800 (WST) Received: by mooneye.ucc.gu.uwa.edu.au (Postfix, from userid 801) id 706BA17F37; Fri, 10 Jun 2005 10:32:05 +0800 (WST) Received: from mussel.ucc.gu.uwa.edu.au (mussel.ucc.gu.uwa.edu.au [130.95.13.18]) by mooneye.ucc.gu.uwa.edu.au (Postfix) with ESMTP id 9AC0F17F1D; Fri, 10 Jun 2005 10:32:04 +0800 (WST) Received: from zanchey (helo=localhost) by mussel.ucc.gu.uwa.edu.au with local-esmtp (Exim 3.36 #1 (Debian)) id 1DgZJU-0000wQ-00; Fri, 10 Jun 2005 10:32:04 +0800 Date: Fri, 10 Jun 2005 10:32:04 +0800 (WST) From: David Adam To: Jean-Yves Lefort In-Reply-To: <20050610042211.5d214150.jylefort@FreeBSD.org> Message-ID: References: <20050610042211.5d214150.jylefort@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Info: Profile: Formal (239/050529) X-SpamTest-Info: Profile: Detect Hard [UCS 290904] X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Marking Spam - Subject (UCS) [02-08-04] X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release Cc: freebsd-stable@FreeBSD.org Subject: Re: UFS2 partition with negative used space X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 02:32:10 -0000 (The mail to this node is rather slow, so I'm sure someone else will have replied by now.) On Fri, 10 Jun 2005, Jean-Yves Lefort wrote: > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1e 989M -46M 956M -5% /var/tmp > > Any hints? Yep: delete some files on /var/tmp. :-) If you're asking 'how can I have negative disk space?', you might want to read newfs(8) and tunefs(8), particularly the sections dealing with the -m flag. Basically, FreeBSD reserves 8% of the disk by default for maintenance reasons: it prevents fragmentation, among other things. The super-user can override these limitations, but it's a bad idea for any length of time. (I think I'm going to tell other Windows people that it just shows how much more efficient BSD is with your disk space.) Cheers, David Adam zanchey@ucc.gu.uwa.edu.au