Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 22:59:51 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Adam <zanchey@ucc.gu.uwa.edu.au>
Cc:        Jean-Yves Lefort <jylefort@FreeBSD.org>, freebsd-stable@FreeBSD.org, fs@FreeBSD.org
Subject:   Re: UFS2 partition with negative used space
Message-ID:  <20050610025951.GA42327@xor.obsecurity.org>
In-Reply-To: <Pine.LNX.4.58.0506101026180.2328@mussel.ucc.gu.uwa.edu.au>
References:  <20050610042211.5d214150.jylefort@FreeBSD.org> <Pine.LNX.4.58.0506101026180.2328@mussel.ucc.gu.uwa.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050610025951.GA42327>