Friday, November 8, 2013

df not showing correct free space in linux

Last week i faced below issue-

When i did “df -h” and “du -sh /Mounted_parition_name” and find some difference output.

My sysadmin say it will solve/OK after server reboot.

Did some workaround on this my own i found  below.

After removing some file because of some reason the file is in open state means it is used by some process.
And in Unix every running process has some PID.

using  "lsof |grep /Mounted_parition_name" .

After  killing those process all set. 

No comments:

Post a Comment