Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use NFS to share media to all my files on my network. However in 10.10 when the share is mounted my machines cannot shutdown, they seem to sit there. When I don't mount the NFS shares the machines shut down normally. Here are the relevant contents of my /etc/fstab. /home/jorge/Stuff nfs rw,hard,intr,fsc

I am currently using cachefilesd to cache my NFS shares, however I get the same problem with or without it. The server is always running and serving the shares.

How can I debug where the problem is? It seems I can only shutdown by power cycling the boxes.

share|improve this question
i keep coming back to look at this and see if you updated... there's a bounty sitting on this... and i realize... this is not a question. maybe if it were someone could claim the bounty? – nathwill Oct 21 '10 at 22:49
up vote 4 down vote accepted

Is your NFS server still up when you shut down your machine? If so, that seems to be a bug in the shutdown ordering in 10.10; the network interface must still be up in order to unmount NFS.

I don't use 10.10 yet, so I can't confirm whether that's the case. But as a stopgap, you might try doing a soft mount instead of a hard one. Soft mounts allow the NFS requests to time out. But you'd better be sure to sync very fully before you shut down!

share|improve this answer
Months later and I was finally able to test this; switching from hard to soft fixed this, thanks! – Jorge Castro Feb 21 '11 at 21:19

heh. self-promotion disclaimer, but i actually recently wrote a bash script i think can help you with this scenario. the bash script goes in /etc/NetworkManager/dispatcher.d/ and solves a couple of quirks i found with NFS, particularly around the boot-up/shut-down issues.

the script mounts/unmounts the network share (really it'll do whatever you want to do at network connect/disconnect), but it's network specific (this way there's no attempt to mount/unmount if the resource isn't available) .you'll need to query arp tables for your routers mac, or just look at the routers stickers.

the other tip for using this if you decide to implement it, is to make sure that you add noauto to your fstab, so that it's not automatically mounted during bootup/shutdown...

adding the noauto to fstab and then just manually mounting/unmounting the drive as needed is another potential quick-fix for this

fyi: i am dogfooding, and have had zero issues w/ this approach. if you decide to adopt and encounter issues, please let me know.

share|improve this answer
This looks interesting, thanks for the link. – Jorge Castro Oct 13 '10 at 23:26
of course! i like the functionality, and will eventually set it up so that if i'm not at home it will still mount the home nfs share, but over sshfs instead :) go go gadget linux! – nathwill Oct 14 '10 at 3:28

I had the same problem with nfs mounted drives preventing me from shutting down. I was able to use the Magic SysRq command Alt+SysRq+R+S+E+I+U+O to shut down. You can get more info about the Magic SysRq from this Ubuntu forums thread.

share|improve this answer

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.