Linux df not updating
This is the only way I feel can release the space on the system." id="ctl00_m_m_i_ctl00_gr_ctl19_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="1377698" / There are many instances when a particular process locks the space and aithough the files are deleted the space is not released for the OS.
First find which process access that file system through fuser command and then kill and restart the processes.
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.
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.
You have a running process that is still using the file space.
It will not let go untill you stop/kill the process or reboot.