Date: Tue, 1 Apr 2008 06:17:52 -0700 From: Jeremy Chadwick <koitsu@freebsd.org> To: Ingeborg Hellemo <Ingeborg.Hellemo@cc.uit.no> Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% Message-ID: <20080401131752.GA3674@eos.sc1.parodius.com> In-Reply-To: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> References: <200804011257.m31CvHBr098327@barnetv.cc.uit.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <COMPAQ RAID 1 VOLUME OK> 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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080401131752.GA3674>