df in linux not showing correct free space after file removal

Deleting the filename doesn’t actually delete the file. Some other process is holding the file open, causing it to not be deleted; restart or kill that process to release the file.

Use

lsof +L1

to find out which process is using a deleted (unlinked) file.

Leave a Comment