Yep, Just carefully checked it against your entry and besides Video = Videos it is identical.
Since you said it is working in Kodi I think it is safe to assume that it isn’t an issue with the share assuming your using the same network path and credentials in Kodi as you are in the autofs files.
Samba is working in Kodi, I haven’t done anything with autofs in Kodi.
Is it because it automatically mounts as it gets use? Wouldn’t an ls command “wake up” automount?
You might try stopping the service, remove any folders in /mnt, then run that troubleshooting command listed in the guide to see if it provides any clues.
Did this, the output on the second window where “ls -lah /mnt/Videos” is run states:
ls: cannot open directory /mnt/Videos: No such file or directory
However if I “ls /mnt” the Videos folder is there, doesn’t make sense.
In the first window the doco instructs to stop autofs which I did then run “sudo automount -f -v -d” which I did.
The following is the first output of the command:
$ sudo automount -f -v -d
Starting automounter version 5.0.8, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
parse_init: parse(sun): init gathered global options: (null)
spawn_mount: mtab link detected, passing -n to mount
spawn_umount: mtab link detected, passing -n to mount
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup(dir): dir map /etc/auto.master.d missing or not readable
lookup(file): failed to read included master map dir:/etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
lookup_nss_read_map: reading map file /etc/auto.smb.shares
parse_init: parse(sun): init gathered global options: (null)
spawn_mount: mtab link detected, passing -n to mount
spawn_umount: mtab link detected, passing -n to mount
mounted direct on /mnt/Logs/ with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/Logs/
mounted direct on /mnt/Videos with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/Videos
st_ready: st_ready(): state = 0 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 3063937856 path /-
expire_cleanup: got thid 3063937856 path /- stat 0
expire_cleanup: sigchld: exp 3063937856 finished, switching from 2 to 1
It then repeats endlessly:
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 3063937856 path /-
expire_cleanup: got thid 3063937856 path /- stat 0
expire_cleanup: sigchld: exp 3063937856 finished, switching from 2 to 1
When I Ctrl-C the following lines are displayed after the above repeating lines:
st_shutdown: state 5 path /-
umount_multi: path /mnt/Logs/ incl 0
umounted direct mount /mnt/Logs/
umount_multi: path /mnt/Videos incl 0
umounted direct mount /mnt/Videos
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
shut down path /-
autofs stopped