kern/92432: negative used disk space
Kris Kennaway
kris at obsecurity.org
Fri Jan 27 12:10:09 PST 2006
The following reply was made to PR kern/92432; it has been noted by GNATS.
From: Kris Kennaway <kris at obsecurity.org>
To: Jean-Sebastien Roy <js at jeannot.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/92432: negative used disk space
Date: Fri, 27 Jan 2006 15:07:41 -0500
--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Jan 27, 2006 at 05:14:34PM +0000, Jean-Sebastien Roy wrote:
> >Description:
> df often returns a negative used space. For example:
>=20
> $ df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/ad0s1a 1012974 77358 854580 8% /
> devfs 1 1 0 100% /dev
> /dev/ad0s1g 10154158 4319874 5021952 46% /home
> /dev/ad0s1h 99572614 74780342 16826464 82% /opt
> /dev/ad0s1d 10154158 -42764 9384590 -0% /tmp
> /dev/ad0s1f 10154158 4525194 4816632 48% /usr
> /dev/ad0s1e 10154158 161980 9179846 2% /var
> procfs 4 4 0 100% /proc
>=20
> While I understand "available" space could be negative, a negative "used"=
space is quite strange.
This seems to be due to FS corruption. umount the filesystem and fsck -f i=
t.
Kris
--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFD2n2MWry0BWjoQKURAnCzAKDYvYAHmTZIjg6bs9jGCt8gKetglACg19w0
FF18HT2K2N1U3dLtEWgWLs8=
=xY+A
-----END PGP SIGNATURE-----
--fdj2RfSjLxBAspz7--
More information about the freebsd-bugs
mailing list