I deleted a 137G file in a NFS mount (from a Linux host), and it dissapeared from the directory but the free space reported by df
is still the same
- the NFS server is a NAS device with almost no logging information, but at least it shows the free space, which is the same as reported by
df
- the file is not open - it's unused for a long time, it doesn't show in
lsof
(I also have rebooted the NAS device) - the difference between the used space from
df -h
anddu -hs .
on the full disk is exactly 137G - the NFS share is mounted with
soft,user
options
What could be causing this?
Deleting the files doesn't actually delete the file. Restart or kill that process to release the file.
use above command to find that which process is using a deleted file.