| Advertise on warmetal.nl! Click for more information about advertising here. |
Did you find this website useful? Did I save you a lot of time? |
|
In order to resolve the fake “disk space full” problem, i.e. to reclaim “used disk space”, you need to kill or terminate the “defunct process” - in this case, the rm command that turns to be defunct process while the files are being used.
Once these defunct processes are terminated, the “open file descriptor” problem will be resolved, and both the du and df commands will agree to report the real file system used disk space or free disk space!
For this particular scenario, the lsof command (list open file command) is great to show light:
lsof | grep "deleted" or lsof | grep "theprocessyouknowthenameof"
If it's a daemon, restart it (if possible), or kill the process. Problem solved!
Discussion