How to configure a NFS mounting in fstab?

Solution 1:

A typical /etc/fstab entry for a NFS mount looks like as follows:

192.168.0.216:/mnt/HDD1    /media/freenas/    nfs    defaults    0 0 

The options you supply looks pretty much default, but you can add those as well:

192.168.0.216:/mnt/HDD1    /media/freenas/    nfs    defaults,proto=tcp,port=2049    0 0 

Solution 2:

Edit /etc/fstab and append to the end:

192.168.0.216:/mnt/HDD1 /media/freenas/ nfs rw,bg,soft,intr,nosuid 0 0