== Linux's _umount -f_ forces IO errors Here is something that I had to find the moderately hard way: > When used on an NFS filesystem, Linux's _umount -f_ will force any > outstanding IO operations to fail with an error, whether or not the > unmount will succeed. This can be both good and bad, but on the whole I think it's mostly bad. If the NFS server has died completely and the outstanding IO can never succeed, you do want things to abort now instead of hanging around. In this case _umount -f_'s behavior is what you want, although it doesn't really go far enough; ideally it would force the filesystem to unmount no matter what. But _umount -f_ is also commonly used to try to unmount unused NFS filesystems when the NFS has crashed temporarily and is being recovered. (Traditionally a basic _umount_ will hang if it cannot talk to the NFS server; this may have changed in Linux by now, but if it has the manpages haven't caught up and so I suspect that the sysadmin habit hasn't either.) If the filesystem is actually in use, you want the unmount attempt to quietly fail. Instead what you get is artificial, unnecessary IO errors for IO that would complete in due time. If you are lucky, programs merely complain loudly to users, alarming them, and manage to recover somehow; otherwise, programs malfunction and your users may lose data. I believe that _umount -f_ is far more often used in the second case than in the first case, and thus that this causes more problems than it cures.