Df command not updating

6854933580_2c8b688306_z

i delete the file without restarting the mysql server disk space still shows 100 % because the file was locked. solution is to restart the process holding the lock on the file or quick reboot the server.We have a web server which has 0 disk usage on some partitions because of the webserver logs.You don't need to reboot your system." id="ctl00_m_m_i_ctl00_gr_ctl05_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="397018" / It seems that you had not remove a file/s large enough to get some free space back. Even though your file system is full the job you have been running might be still in the memory, so it did not release the space or rather the inode related to the process... If you are unable to track down what the process was, rebooting (if it is an option) is your simplest solution. Try stopping your applications and seeing if that releases the space.

df command not updating-35df command not updating-31df command not updating-25df command not updating-42

Why df command still showing 100% disk used at dev/xvda2?

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.

example: main drive shows 100 % disk space used i check what is going on and i notice that the mysql slow log takes all that big space.

When the /tmp file was full, I deleted a large file and then typed the 'df /tmp' command it still shows 100%.

Is there a command to refresh the file system or do I have to boot the system? but some process continue to one or more file so the space available is not updated look for the process and kill it try with svmon -P pid which give the inode of files used =3D" id="ctl00_m_m_i_ctl00_gr_ctl03_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="397012" / i think you have release free space with rm in /tmp but some process continue to one or more file so the space available is not updated look for the process and kill it try with svmon -P pid which give the inode of files used =3D The df /tmp command will work & refresh automatically. If you are unable to track down what the process was, rebooting (if it is an option) is your simplest solution." id="ctl00_m_m_i_ctl00_gr_ctl09_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="397124" / You will not recover the space used by the deleted file until the process that had it opened ends or is killed. Software Developer ING Americas - Retail Annuity IT" id="ctl00_m_m_i_ctl00_gr_ctl11_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="397128" /messages in this archive you will have to stop the process that has a open handle on the file.

If deleted file has any hard links or already opened by a process, its contents not removed.

You must have an account to comment. Please register or login here!