Ubuntu – Mounted NFS shares interrupting shutdown

nfsshutdown

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.

 192.168.1.115:/home/jorge /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.

Best Answer

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!

Related Question