From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 08:13:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5595F1065678 for ; Wed, 2 Apr 2008 08:13:34 +0000 (UTC) (envelope-from peter@wemm.org) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id E42308FC2C for ; Wed, 2 Apr 2008 08:13:33 +0000 (UTC) (envelope-from peter@wemm.org) Received: by fg-out-1718.google.com with SMTP id 16so2578440fgg.35 for ; Wed, 02 Apr 2008 01:13:32 -0700 (PDT) Received: by 10.82.171.16 with SMTP id t16mr23025519bue.25.1207124012455; Wed, 02 Apr 2008 01:13:32 -0700 (PDT) Received: by 10.82.162.11 with HTTP; Wed, 2 Apr 2008 01:13:32 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 01:13:32 -0700 From: "Peter Wemm" To: "Jeremy Chadwick" In-Reply-To: <20080402075421.GA40172@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080402070324.GA7768@svzserv.kemerovo.su> <200804020717.m327H3qm028023@barnetv.cc.uit.no> <20080402075421.GA40172@eos.sc1.parodius.com> Cc: Eugene Grosbein , freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 08:13:34 -0000 On Wed, Apr 2, 2008 at 12:54 AM, Jeremy Chadwick wrote: > On Wed, Apr 02, 2008 at 09:17:03AM +0200, Ingeborg Hellemo wrote: > > > > eugen@kuzbass.ru said: > > > > It is possible to have files that are open and held by processes on > > > > the filesystem that are no longer listed. If you kill the offending > > L > process the space will be freed up. > > > > > > "lsof +aL1 " shows unlinked open files on the specified file > > > system (quoting its man page). > > > > > > If you read my first mail you will see that this is not a case of overfull > > /var (101% used) and a need to free space. Something is wrong with either the > > filesystem or df(1) since it claims that I am using a negative amount of > > disk-blocks. > > > > There are no unlinked open files on /var, and I fail to understand how they > > could have explained the output of df(1) > > Did you perform the lsof or fstat commands recommended? We understand > you fail to understand how open fds to files which were removed could > cause what you're seeing -- you'll have to trust us. Can you do that? Was the file system on a machine that was upgraded from 4.x by any chance? There were some header changes a while ago that could cause pervasive accounting problems. A fsck fixes that one. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell **WANTED TO BUY: Garmin Streetpilot 2650 or 2660. Not later model! **