Hi,
I recently had the situation whereby a 2GB partition was at 100%, but du only showed a usage of around 100MB.
It turns out that a user had a process which created a large file. They had noticed this and deleted the file, but the process still had a handle to file, so the file was still allocated on the disk. When the process ended, the disk space was re-allocated.
In this case I was lucky that I had been made aware of this process, and that we killed it. If this happens again, I would like to know of way of tracking any files/processes in this situation.
I know that I track partition usage via fuser, and I could then use glance to track files open by a process. Does anybody know of any other, (maybe neater/quicker) way.
Many thanks.
Stev
If at first you do not succeed. Destroy all evidence that you even attempted.