/var with capacity -1%

Jeremy Chadwick koitsu at freebsd.org
Tue Apr 1 13:17:52 UTC 2008


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 |



More information about the freebsd-stable mailing list