From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 13:17:52 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 A5EB4106564A for ; Tue, 1 Apr 2008 13:17:52 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 978298FC25 for ; Tue, 1 Apr 2008 13:17:52 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 6BDD31CC03E; Tue, 1 Apr 2008 06:17:52 -0700 (PDT) Date: Tue, 1 Apr 2008 06:17:52 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080401131752.GA3674@eos.sc1.parodius.com> References: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: 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: Tue, 01 Apr 2008 13:17:52 -0000 On Tue, Apr 01, 2008 at 02:57:17PM +0200, Ingeborg Hellemo wrote: > ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done > similar installations on 2 other servers, and suddenly: > > ~/#df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 1012974 385846 546092 41% / > devfs 1 1 0 100% /dev > /dev/da0s1e 507630 12 467008 0% /tmp > /dev/da0s1f 58730650 1302436 52729762 2% /usr > /dev/da0s1d 5077038 -33660 4704536 -1% /var > > > ~/#du -sk /var > 3188 /var > > I have not done anything with neither newfs nor tunefs. > > ~/#tunefs -p > tunefs: ACLs: (-a) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: gjournal: (-J) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 2048 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L)Fra /var/run/dmesg.boot: > > >From /var/run/dmesg.boot: > > da0 at ciss0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 135.168MB/s transfers > da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C) > > > There were no complaints during slicing og installing. > > > Any ideas? 1) Softupdates can cause this. Run "sync" a few times, then wait 30 seconds or so; does it go away? 2) Files which are open (have active file descriptors associated with them) on /var before it filled may be causing this. fstat may help you here. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |