Why use /etc/fstab instead of Kodi’s built in NFS client? Using /etc/fstab is faster than Kodi’s own NFS client – it delivers better throughput and is more reliable (also than SMB mounting). Many performance issues, especially with high-bitrate content can be solved by using NFS shares and /etc/fstab. Additionally, it’s quite easy to set up.
Preparation:
You will need to know the following information
1.The IP address of the system where your media files are shared from. (in this tutorial, i will be using 192.168.1.5)
2.The directory used by the NFS share on your NAS. Use the following command to find the correct export path for your NAS
showmount -e IP_of_your_NAS
3. Mount point in OSMC. (in this tutorial, i will be using /mnt/NFS_Share)
Edit your /etc/fstab file:
sudo nano /etc/fstab
Go to the end of the file (use the down arrow key) and add this line:
192.168.1.5:/mnt/array1/share /mnt/NFS_Share nfs noauto,x-systemd.automount 0 0
Once done editing /etc/fstab, save the file and exit nano /etc/fstab with CTRL+X and Y for “yes”.
Now verify that there are no errors in your fstab file:
sudo mount -a
Once you get a prompt with no errors, you will need to reload systemd:
sudo systemctl daemon-reload sudo systemctl restart remote-fs.target
At this point, your shares should just work. To test, simply try to go to the share:
cd /mnt/NFS_Share ls
Source: https://discourse.osmc.tv/t/configuring-fstab-based-nfs-share-mounts/69953