1
I'm on a SUSE Enterprise server which has mounted a drive via an NFS mount. I have created a 34GB file via dd if=/dev/Zero of=test_file bs=8k Count=4194304
to test the write speed of the NFS share. After that I deleted the file via rm test_file
and then I immediately used df
.
The value in the used
column of the output of df
starts to decrease. I update by calling df
every ~10 seconds and every time I see that the used
value has decreased by ~2GB.
So it seems that the rm test_file
command doesn't seem to have completed it's job although I have the command prompt available again (thus rm must have returned "0", right?). What's going on here in the background?
Have you tried
sync
? – choroba – 2018-09-18T15:43:32.1471While you say you have the file system mounted via NFS, what is the NFS mount formatted as? All NFS does is provide a network mount. – JakeGould – 2018-09-18T16:46:55.653