From owner-freebsd-current@FreeBSD.ORG Thu Nov 13 05:11:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3278F16A4EB for ; Thu, 13 Nov 2003 05:11:16 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CABF43FBD for ; Thu, 13 Nov 2003 05:11:14 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) hADDB6t2032178 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 13 Nov 2003 14:11:09 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id hADDB32q060126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Nov 2003 14:11:04 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id hADDB32u035584; Thu, 13 Nov 2003 14:11:03 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id hADDAwsR035570; Thu, 13 Nov 2003 14:10:58 +0100 (CET) (envelope-from ticso) Date: Thu, 13 Nov 2003 14:10:58 +0100 From: Bernd Walter To: Kris Kennaway Message-ID: <20031113131057.GD22887@cicely12.cicely.de> References: <20031113020400.GA44619@xor.obsecurity.org> <20031113074425.GC39616@cirb503493.alcatel.com.au> <20031113085418.GA47995@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031113085418.GA47995@xor.obsecurity.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i cc: Peter Jeremy cc: current@freebsd.org Subject: Re: Who needs these silly statfs changes... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 13:11:16 -0000 On Thu, Nov 13, 2003 at 12:54:18AM -0800, Kris Kennaway wrote: > On Thu, Nov 13, 2003 at 06:44:25PM +1100, Peter Jeremy wrote: > > On Wed, Nov 12, 2003 at 06:04:00PM -0800, Kris Kennaway wrote: > > >...my sparc machine reports that my i386 nfs server has 15 exabytes of > > >free space! > > > > > >enigma# df -k > > >Filesystem 1K-blocks Used Avail Capacity Mounted on > > >rot13:/mnt2 56595176 54032286 18014398507517260 0% /rot13/mnt2 > > > > 18014398507517260 = 2^54 - 1964724. and 2^54KB == 2^64 bytes. Is it > > possible that rot13:/mnt2 has negative free space? (ie it's into the > > 8-10% reserved area). > > Yes, that's precisely what it is..the bug is either in df or the > kernel (I suspect the latter, i.e. something in the nfs code). And it's nothing new - I'm seeing this since several years now. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de