If you use NFS then actually do not need autofs as normally the Kodi mounting is performant enough. In those case autofs is only nice so that you have same path if you use Kodi on multiple devices
We have a lot of power cuts here (in the wilds of Dartmoor) so AutoFS is useful as my source is often not available at the point Kodi powers back up.
Also realised I had been using the fStab system incorrectly for the past 5 years!
For me, mounting a CIFS share did not work at first when following the instructions exactly.
Perhaps the solution should be included in the instructions because it is now a fairly common problem.
It is important to specify the CIFS version; it should be at least version 2.0 (vers=2.0). In my case, I used vers=3.0.
sudo nano /etc/auto.smb.shares
/mnt/nas/share -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc,vers=3.0 ://nas/share
Well it isn’t that easy. There are still many people out there that are using NAS that only support SMB 1.
Not sure what more we should write
1 Like