Ubuntu – How to configure a NFS mounting in fstab?

系統:ubuntu 16.04


要加入一台nas到ubuntu 伺服器上面…

ref:

https://askubuntu.com/questions/890981/how-to-configure-a-nfs-mounting-in-fstab

vi /etc/fstab 

192.168.2.18:/volume1/MasterLog /mnt/nas nfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0 (原先錯誤設定)

192.168.2.18:/volume1/MasterLog /mnt/nas nfs defaults,proto=tcp,port=2049 0 0  (正確設定)

重機開機就好了…