Df command not updating

|\/|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.

Hi, I am facing this problem like, df -k is showing 92% of space filled up.

Even after removing all big files except few, the df -k is showing same 92%. Please let me know how to get effective and accurate value of a filesystem using df command.

If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.

Processes holding files open is one reason why the newsyslog(8) command sends signals to syslogd or other logging programs to inform them they should close and re-open their log files after it has rotated them.

Softupdates can also effect filesystem freespace as the actual inode space recovery can be deferred; the sync(8) command can be used to encourage this to happen sooner.

:)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...

Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.

Search for df command not updating:

df command not updating-14df command not updating-48df command not updating-8

An easy way to observe this is to do the following Until the background process is terminated the file space used by /tmp/cat-test will remain allocated and unavailable as reported by df(1) but the du(1) command will not be able to account for it as it no longer has a filename.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “df command not updating”