umount -a -f -t nfs doesn't work when a file has been written and "-l" option is needed
Subsystems (2)
I suffer the following problem with nfs since a lot of time, now, I am using nfs-utils-1.2.0, but older versions were affected too.
When I write a file on a mounted nfs filesystem and server goes down, I am unable to umount it even with "-f" option, it simply hangs. On the other hand, if no file was written (for example, it was simply read) there is no problem and "umount -f" works as expected.
Seems that I need to run "umount -l" for being able to unmount it, even when I expected that "-f" should be enough.
Is this the proper behavior or something is going wrong?
Thanks a lot :-)