Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am mounting a NFS-folder from a server to my laptop.

Unforutnately, the server goes off sometimes... The problem is, that I cannot unmount the "dead" NFS-folder. On the command-line, I get "device is buisy", and via nautilus it crashes my current session.

Is there any way to unmount a NFS-folder when the server is off?

share|improve this question
Have you tried umount -l –  Mitch May 7 '13 at 12:39
thanks, mitch - thats it! –  Produnis May 7 '13 at 18:21

3 Answers 3

up vote 10 down vote accepted

You can use umount -f -l /mnt/myfolder, and that will fix the problem.

-f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.)

-l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)

Source:Linux Complete Command Reference

share|improve this answer

try sudo umount -l {mountPoint} to do a "lazy unmount". Lets you move on with your life without waiting for the plumber to arrive.

share|improve this answer

for me umount -f /mnt/.. nor umount -l /mnt/.. nor umount -f -l /mnt/.. works :(

even when i do df, fuser /mnt/.. nothing works..

nfiostat returns:

:/ mounted on /mnt/:

op/s rpc bklog




ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)




   0 (0.0%)




ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)




   0 (0.0%)



nfsstat -rc returns

Client rpc stats:

calls retrans authrefrsh

14134 0 14051


I have fixed it by turning the NFS machine back on, and simply umounted the folder..

share|improve this answer
I think this is a problem that should have been resolved since so many people use NFS. I find that many times umount -fl does NOT work and even can hang the current tty beyond the ability to even use ctrl-c, ctrl-d, or ctrl-z to abort end or stop the task. Putting a local server back online to unmount it may be okay, but what if the server is somewhere where you can't or doesnt belong to you? You would think that umount.nfs would have some special extra options but it doesnt. And I've noticed this for years now, updating every kernel, never does the problem get fixed... pride and arrogance???? –  osirisgothra Jun 18 '14 at 9:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.