I have a home server running ubuntu which exports a nfs volume which I'm mounting on my laptop like this
-> % cat /etc/fstab
...
media:/mnt/data /home/alf/media nfs _netdev 0 0
All is good.
..until I boot up my laptop at work (or any place except my house). Then booting hangs for a couple of minuttes trying to mount this volume which obviously isn't available. Very annoying.
I've (quick) read pretty much the whole nfs man page and searched high and low for a way to say to nfs: "look man, if you cannot reach my server, just skip it and move on, ok?", but I just can't find a way to do this.
Any suggestions? 🙂
Best Answer
You can try setting the
retry
parameter to0
:media:/mnt/data /home/alf/media nfs _netdev,retry=0 0 0
From nfs man page: