Mounted NFS shares interrupting shutdown?

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!


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.

http://www.badgerbait.net/offtopic/network-specific-event-triggered-bash-script

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.