[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird disk space report
I have seen this happen when a process is still keeping the file open. You
can use lsof to find out what is holding the file open and restart the
process (although this may need to be installed from the ports tree for you).
I don't know of another tool do to that, although there may be one.
Matt
On Friday 08 February 2002 12:06 pm, Franco Galian wrote:
> Hi,
> I had a really big archive at /var/log which I deleted. It was more than
> 2GB. The problem is that although I see doing du only 58MB used, when I
> execute df -h I still get the report as if this archive where still there..
>
> # du -sk /var/log
> 58064 /var/log
> # df -h /var/log
> Filesystem Size Used Avail Capacity Mounted on
> /dev/wd0g 2.6G 2.3G 170M 93% /var/log
>
> Any suggestions??
> Thanks
>
> Franco Galian