I've got a D-link DNS-320LW that I'm trying to use as a remote backup box plus extra storage. The NAS box is connected to the wireless router with a standard ethernet cable and the connection of my pc to the router is over wifi. Its smb share function gets a bit complicated and seems to have issues with streaming so I'm looking into NFS. I can mount it fine with
Code:
sudo mount -t nfs 192.168.1.20:/mnt/HD/HD_a2 /mnt/NAS/
and it works perfectly with it. I tried to add it to fstab following the advice
here since that guy seems to have a setup almost identical to mine. The fstab line I'm using is
Code:
192.168.1.20:/mnt/HD/HD_a2 /media/NAS nfs rw,hard,intr 0 0
but I don't see it mounted after a reboot. I've tried adding the
_netdev option but I didn't see any improvements. Using
showmount -e 192.168.1.20 when it's not mounted, I get
Code:
Export list for 192.168.1.20:
/mnt/HD/HD_a2 192.168.1.0/24
so it seems that it's at least visible after the boot. Any ideas on what I'm doing wrong?
(I'm also not sure
intr is needed since the man page says it's deprecated. Seems
proto=tcp should be added to ensure it uses TCP for transport and avoid data corruption during backups. I'd love to use NFSv4 with kerberos authentication but my experience with network shares is zero so I have no clue how to go about that.)