Unix df not updating

:)e NJOY Mohammed Tanvir" id="ctl00_m_m_i_ctl00_gr_ctl11_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="1680168" / Dear If a process is holding open a file, and that file is removed, the space belonging to the file is not freed until the process either exits or closes the file. This often happens in /var/log or /var/adm when a long-running process (e.g. If a process is holding Open such a file for writing, but it's inconvenient or impractical to Kill the process or get it to close the file, you can free up the disk space by truncating (not removing) the file from under /proc; e.g., # cd /proc/1234/fd # ls -l c--------- 1 root 24, 12 Jan 1 0 c--------- 1 root 24, 12 Jan 1 1 c--------- 1 root 24, 12 Jan 1 2 --w------- 1 root 314159265 Jan 1 3 # : 3 # ls -l c--------- 1 root 24, 12 Jan 1 0 c--------- 1 root 24, 12 Jan 1 1 c--------- 1 root 24, 12 Jan 1 2 --w------- 1 root 0 Jan 1 3 If you have any problem with cluster based system just replay...

This is an advanced technique and should only be carried out when the administrator is certain that this will cause no adverse effects to running processes.

easy fix if you don't know what file is being used, is to reboot the server/virtual machine and the lock will go away.|\/|artin It seems inodes got correpted,before you any thing on the disk take backup the rest of the data ( Before rebooting ).Thanks & Regards Vimal" id="ctl00_m_m_i_ctl00_gr_ctl07_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="1678803" /try fuser -cu to look at what processes are writhing to the fs. I have also heard that lsof can be of help, not sure though. You can use LSOF (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutil s/lsof) to find which processes are holding open a particular file.Newer BSD users often don't realize that a program that has a file open is also holding a reference.The prevents the underlying file data from going away while the process is using it.