[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird disk space report
On Fri, 8 Feb 2002, 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??
don't do that.
The file is still open, so the disc space is still used, although du
can't see it as the file has been deleted.
kill the process with the file open, and your space will reappear.
Rebooting will probably be safer though.
Sam
Sam
--
Agony: Not All Pain is Gain