Date: Wed, 2 Apr 2008 01:13:32 -0700 From: "Peter Wemm" <peter@wemm.org> To: "Jeremy Chadwick" <koitsu@freebsd.org> Cc: Eugene Grosbein <eugen@kuzbass.ru>, freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% Message-ID: <e7db6d980804020113k4139a5f7m2725245ccef209c3@mail.gmail.com> In-Reply-To: <20080402075421.GA40172@eos.sc1.parodius.com> References: <20080402070324.GA7768@svzserv.kemerovo.su> <200804020717.m327H3qm028023@barnetv.cc.uit.no> <20080402075421.GA40172@eos.sc1.parodius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 2, 2008 at 12:54 AM, Jeremy Chadwick <koitsu@freebsd.org> 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 <file_system>" 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! **
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db6d980804020113k4139a5f7m2725245ccef209c3>