Skip to contentSkip to conversation

umount -a -f -t nfs doesn't work when a file has been written and "-l" option is needed

DISCUSSION Pacho Ramos 1 participant 1 message Sep 5, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 :-)