Ubuntu – NFS won’t mount on boot

mountnasnfs

I am having trouble getting my nfs to mount on boot. I am running Lubuntu 12.04 and mounting from a NAS (Synology-if it matters). I should add that am very new to using Lubuntu or any Linux distribution.

To mount on boot I tried to add the following to /etc/fstab:

192.168.2.15:/volume1/Family /home/john/nfs-Family nfs rw,async,hard 0 0

No luck when the computer mounts, the nfs file doesn't mount.

I should add that when I use the mount command the nfs mounts just fine. This is the command I use:

sudo mount 192.168.2.150:/volume1/Family /home/john/nfs-Family

Any advice would be appreciated.

Best Answer

This question is a bit old but I thought I might share what solved this problem for me. I had this same issue after following the 12.04 server guide.

Everything has worked well since I changed my /etc/fstab entry options to include nfsvers=3 per comment #6 in this bug report. My current fstab entry (working on three clients) is as below.

192.168.1.0:/backup /home nfs nfsvers=3,hard,intr,auto 0 0
Related Question