From owner-freebsd-bugs Wed Oct 10 5:50:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 65A3437B406 for ; Wed, 10 Oct 2001 05:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9ACo3C48057; Wed, 10 Oct 2001 05:50:03 -0700 (PDT) (envelope-from gnats) Date: Wed, 10 Oct 2001 05:50:03 -0700 (PDT) Message-Id: <200110101250.f9ACo3C48057@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Josef Karthauser Subject: Re: bin/31135: /bin/df reporting 'NaNB' as a Size. Reply-To: Josef Karthauser Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/31135; it has been noted by GNATS. From: Josef Karthauser To: cjclark@alum.mit.edu Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/31135: /bin/df reporting 'NaNB' as a Size. Date: Wed, 10 Oct 2001 13:49:08 +0100 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 10, 2001 at 01:23:50AM -0700, Crist J. Clark wrote: > On Mon, Oct 08, 2001 at 01:06:27PM +0100, Joe Karthauser wrote: > > >Description: > > I've just had the strangest output from 'df': > >=20 > > % while test /tmp; do df -h /data; sleep 5; done > > [cut] > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s2h 10G 9.5G 72M 99% /data > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s2h NaNB 9.5G 69M 99% /data > > ^^^^ > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s2h 10G 9.5G 72M 99% /data > > [cut] >=20 > Can you reproduce this? Looking through src/bin/df/df.c, I can't see > what type of exceptional condition could sneak through. There are some > checks for "impossible" conditions. It's hard to see how the 'size' > can be messed up and yet the 'used' is OK since 'size' is used to > calculate 'used.' And obviously, the size of your file system is not > changing between df(1) runs. No I can't. I did a: while true; df -h /data | grep -i nan; done for several hours but didn't see anything. Wierd isn't it? I definitely didn't dream this up though; the example above is cut and pasted from the console. Joe --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjvEQ8MACgkQXVIcjOaxUBaxXwCgxIMMhE8fywJPBfzWwvq3qXEC A1oAnibz/XV2MZo1Jvtv/dVJ5Q54EqS/ =y2b+ -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message