I have an OpenBSD 4.4 machine running just a few things;
OSSEC, named and openvpn.

After it's been up for a few weeks I start seeing discrepancies between what df 
tells me is free space and how much space du reports as being used.  A few 
weeks ago I got 'disk full' errors and rebooted the thing which "solved" it for 
the moment, but not permanently.

Here is an example of what I'm seeing:

# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd0a      3.6G    1.1G    2.3G    32%    /

# du -sh *
2.0K    altroot
4.5M    bin
44.0K   boot
6.6M    bsd
5.3M    bsd.rd
38.0K   dev
2.8M    etc
94.0K   home
2.0K    ipp.txt
6.0K    lost+found
2.0K    mnt
2.0K    openvpn-status.log
78.0K   root
10.7M   sbin
2.0K    stand
0B      sys
2.0K    tmp
505M    usr
10.2M   var

This looks to me like there is a discrepancy of several hundred megabytes and 
each day I get an approximate 1% increase in the df used report.  How can I 
find out what's using this space and how can I prevent it?

thanks,

-- 
Charles Farinella
Appropriate Solutions, Inc.
603.924.6079

Reply via email to