bugs with disk space

Jose Hidalgo Herrera jose at hostarica.com
Wed Jun 9 17:45:20 GMT 2004


Yes, I did:
~# lsof +aL1
and found that snmpd was the problem, I killed it and now du = df

Sorry for the mail!

On Wed, 2004-06-09 at 11:41, Jason Andresen wrote:
> Jose Hidalgo Herrera wrote:
> > There is something wrong here:
> > 
> > srv0:~# uname -r 
> > 4.9-RELEASE-p4
> > 
> > srv0:~# df -hi /
> > Filesystem    Size   Used  Avail Capacity iused ifree %iused  Mounted on
> > /dev/ad0s1a   126M   125M  -8.9M   108%    1364 14890    8%   /
> > 
> > srv0:~# du -shx /
> >  36M    /
> > 
> > The operating system complains about free space, but I'm only using 36M,
> > while the df says that I'm using 125M, the inodes are not the problem.
> 
> You probably have programs accessing files on / that have been unlinked. 
>   Once the process terminates (or closes the file descriptor) you will 
> get your space back.  If you deleted a large temp file or log file to 
> free up space, try restarting the process that created the temp/log file.



More information about the freebsd-hackers mailing list