df not updated

If you rm some big file and you don’t recover your space disk (df shows your device always full), you can check if there is some process using your deleted file with :

ls -ld /proc/*/fd/* 2>&1 | fgrep ‘(deleted)’

You simply have to kill these processes which are still using your file.

Leave a Reply

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