I have two OSMC boxes and am preparing a new. So I looked at the settings of the two I have and I found a problem:
Both units have the same /etc/fstab entry for a video media share on my Ubuntu 20.04.4 LTS Server.
Yet the content of the share is visible only on one OSMC unit…
Here is the fstab entry:
//192.168.119.216/MSNBC /mnt/ubuntusrv cifs x-systemd.automount,vers=3.0,noauto,rw,iocharset=utf8,credentials=/home/osmc/.credentials,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0
The credentials file is the same content on both units (copy/paste), yet the second unit does not mount it.
$ ll /home/osmc/.credentials
-rw-r--r-- 1 root root 35 2022-05-25 19:46 /home/osmc/.credentials
The /mnt/ubuntusrv directory exists on both.
I have tried sudo mount -a
on the problem unit and there is no error message yet the mount is not done (no files inside the /mnt/ubuntusrv directory.
What should I look for next?