Hello, please help me about my recent issue. When I delete files from the server, the df command does not display the empty space properly, while I deleted the entire file. When I use the df command, it shows that about 99% of my hard drive space is full and my script can not store data in the file server. What should be done?
Deleting a filename usually does not delete a file. Some other processes may be running on that file and therefore can not delete them. To remove them completely, use the lsof command to check the processes associated with that file and restart or kill them. Use the following command to find out which processes are using a deleted file:
lsof +L1
+8595670151
7 days a week, 24 hours a day