From owner-freebsd-fs@FreeBSD.ORG Fri Jun 10 02:59:52 2005 Return-Path: X-Original-To: fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C783216A41C; Fri, 10 Jun 2005 02:59:52 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8334A43D49; Fri, 10 Jun 2005 02:59:52 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B109E51262; Thu, 9 Jun 2005 22:59:51 -0400 (EDT) Date: Thu, 9 Jun 2005 22:59:51 -0400 From: Kris Kennaway To: David Adam Message-ID: <20050610025951.GA42327@xor.obsecurity.org> References: <20050610042211.5d214150.jylefort@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Jean-Yves Lefort , freebsd-stable@FreeBSD.org, fs@FreeBSD.org Subject: Re: UFS2 partition with negative used space X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 02:59:52 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 10, 2005 at 10:32:04AM +0800, David Adam wrote: > (The mail to this node is rather slow, so I'm sure someone else will have > replied by now.) >=20 > On Fri, 10 Jun 2005, Jean-Yves Lefort wrote: > > Filesystem Size Used Avail Capacity M= ounted on > > /dev/ad0s1e 989M -46M 956M -5% /= var/tmp > > > > Any hints? >=20 > Yep: delete some files on /var/tmp. :-) >=20 > 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. Look closer :-) In comment to the original question: when unmounting filesystems on 5.x and 6.x which have had a lot of activity I commonly see status messages about negative number of files/blocks being used: ffs_vfsops.c: printf("%s: unmount pending error: blocks %jd files= %d\n", Kris --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqQInWry0BWjoQKURAkBHAJwOOtXzvAgfYKK3t5VrE3re7eey+gCfVUq/ 6btxRfmEI09gA5X2SrYZ6UI= =gvt/ -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--