You make a good point! I have removed the fstab config, so just trying with autofs now.
My entry in auto.nfs.shares is /mnt/NASFiles 192.168.1.210:/c/media
Following the instructions in the wiki article I ran
sudo automount -f -v -d
then connected from another session and tried to ls the mount. Output was this:
Starting automounter version 5.1.2, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
lookup_read_master: lookup(file): read entry /-
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
do_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
lookup_nss_read_map: reading map file /etc/auto.nfs.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/NASFiles with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/NASFiles
st_ready: st_ready(): state = 0 path /-
handle_packet: type = 5
handle_packet_missing_direct: token 7, name /mnt/NASFiles, request pid 3131
attempting to mount entry /mnt/NASFiles
lookup_mount: lookup(file): looking up /mnt/NASFiles
lookup_mount: lookup(file): /mnt/NASFiles -> 192.168.1.210:/c/media
parse_mount: parse(sun): expanded entry: 192.168.1.210:/c/media
parse_mount: parse(sun): gathered options:
parse_mount: parse(sun): dequote("192.168.1.210:/c/media") -> 192.168.1.210:/c/media
parse_mount: parse(sun): core of entry: options=, loc=192.168.1.210:/c/media
sun_mount: parse(sun): mounting root /mnt/NASFiles, mountpoint /mnt/NASFiles, what 192.168.1.210:/c/media, fstype nfs, options (null)
mount_mount: mount(nfs): root=/mnt/NASFiles name=/mnt/NASFiles what=192.168.1.210:/c/media, fstype=nfs, options=(null)
get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 6 version 0x30
get_nfs_info: nfs v3 rpc ping time: 0.000000
get_nfs_info: nfs v2 rpc ping time: 0.000000
get_nfs_info: host 192.168.1.210 cost 0 weight 0
get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 17 version 0x30
get_nfs_info: nfs v3 rpc ping time: 0.000000
get_nfs_info: nfs v2 rpc ping time: 0.000000
get_nfs_info: host 192.168.1.210 cost 0 weight 0
prune_host_list: selected subset of hosts that support NFS3 over TCP
mount_mount: mount(nfs): calling mkdir_path /mnt/NASFiles
mount_mount: mount(nfs): calling mount -t nfs 192.168.1.210:/c/media /mnt/NASFiles
>> mount.nfs: mount system call failed
mount(nfs): nfs: mount failure 192.168.1.210:/c/media on /mnt/NASFiles
dev_ioctl_send_fail: token = 7
failed to mount /mnt/NASFiles
st_expire: state 1 path /-
expire_proc: exp_proc = 4102591568 path /-
expire_cleanup: got thid 4102591568 path /- stat 0
expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
^Xst_expire: state 1 path /-
expire_proc: exp_proc = 4102591568 path /-
expire_cleanup: got thid 4102591568 path /- stat 0
expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /- from 1 to 5
st_prepare_shutdown: state 1 path /-
expire_proc: exp_proc = 4097832016 path /-
expire_cleanup: got thid 4097832016 path /- stat 0
expire_cleanup: sigchld: exp 4097832016 finished, switching from 5 to 7
st_shutdown: state 5 path /-
umount_multi: path /mnt/NASFiles incl 0
set_direct_mount_catatonic: set /mnt/NASFiles catatonic
umounted direct mount /mnt/NASFiles
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
shut down path /-
autofs stopped
osmc@osmc:~$ lookup(file): failed to read included master map auto.master
-bash: syntax error near unexpected token `file'
osmc@osmc:~$ master_do_mount: mounting /-
-bash: master_do_mount:: command not found
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
lookup_nss_read_map: reading map file /etc/auto.nfs.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/NASFiles with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/NASFiles
st_ready: st_ready(): state = 0 path /-
handle_packet: type = 5
handle_packet_missing_direct: token 7, name /mnt/NASFiles, request pid 3131
attempting to mount entry /mnt/NASFiles
lookup_mount: lookup(file): looking up /mnt/NASFiles
lookup_mount: lookup(file): /mnt/NASFiles -> 192.168.1.210:/c/media
parse_mount: parse(sun): expanded entry: 192.168.1.210:/c/media
parse_mount: parse(sun): gathered options:
parse_mount: parse(sun): dequote("192.168.1.210:/c/media") -> 192.168.1.210:/c/media
parse_mount: parse(sun): core of entry: options=, loc=192.168.1.210:/c/media
sun_mount: parse(sun): mounting root /mnt/NASFiles, mountpoint /mnt/NASFiles, what 192.168.1.210:/c/media, fstype nfs, options (null)
mount_mount: mount(nfs): root=/mnt/NASFiles name=/mnt/NASFiles what=192.168.1.210:/c/media, fstype=nfs, options=(null)
get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 6 version 0x30
get_nfs_info: nfs v3 rpc ping time: 0.000000
get_nfs_info: nfs v2 rpc ping time: 0.000000
get_nfs_info: host 192.168.1.210 cost 0 weight 0
get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 17 version 0x30
get_nfs_info: nfs v3 rpc ping time: 0.000000
get_nfs_info: nfs v2 rpc ping time: 0.000000
get_nfs_info: host 192.168.1.210 cost 0 weight 0
prune_host_list: selected subset of hosts that support NFS3 over TCP
mount_mount: mount(nfs): calling mkdir_path /mnt/NASFiles
mount_mount: mount(nfs): calling mount -t nfs 192.168.1.210:/c/media /mnt/NASFiles
>> mount.nfs: mount system call failed
mount(nfs): nfs: mount failure 192.168.1.210:/c/media on /mnt/NASFiles
dev_ioctl_send_fail: token = 7
failed to mount /mnt/NASFiles
st_expire: state 1 path /-
expire_proc: exp_proc = 4102591568 path /-
expire_cleanup: got thid 4102591568 path /- stat 0
expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
^Xst_expire: state 1 path /-
expire_proc: exp_proc = 4102591568 path /-
expire_cleanup: got thid 4102591568 path /- stat 0
expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /- from 1 to 5
st_prepare_shutdown: state 1 path /-
expire_proc: exp_proc = 4097832016 path /-
expire_cleanup: got thid 4097832016 path /- stat 0
expire_cleanup: sigchld: exp 4097832016 finished, switching from 5 to 7
st_shutdown: state 5 path /-
umount_multi: path /mnt/NASFiles incl 0
set_direct_mount_catatonic: set /mnt/NASFiles catatonic
umounted direct mount /mnt/NASFiles
automount_path_to_fifo: fifo name /var/run/autofs.fifo--
shut down path /-
autofs stopped
osmc@osmc:~$ automount_path_to_fifo: fifo name /var/run/autofs.fifo--
-bash: automount_path_to_fifo:: command not found
osmc@osmc:~$ lookup_nss_read_map: reading map file /etc/auto.nfs.shares
-bash: lookup_nss_read_map:: command not found
osmc@osmc:~$ do_init: parse(sun): init gathered global options: (null)
-bash: syntax error near unexpected token `('
osmc@osmc:~$ mounted direct on /mnt/NASFiles with timeout 15, freq 4 seconds
-bash: mounted: command not found
osmc@osmc:~$ do_mount_autofs_direct: mounted trigger /mnt/NASFiles
-bash: do_mount_autofs_direct:: command not found
osmc@osmc:~$ st_ready: st_ready(): state = 0 path /-
-bash: syntax error near unexpected token `('
osmc@osmc:~$ handle_packet: type = 5
-bash: handle_packet:: command not found
osmc@osmc:~$ handle_packet_missing_direct: token 7, name /mnt/NASFiles, request pid 3131
-bash: handle_packet_missing_direct:: command not found
osmc@osmc:~$ attempting to mount entry /mnt/NASFiles
-bash: attempting: command not found
osmc@osmc:~$ lookup_mount: lookup(file): looking up /mnt/NASFiles
-bash: syntax error near unexpected token `('
osmc@osmc:~$ lookup_mount: lookup(file): /mnt/NASFiles -> 192.168.1.210:/c/media
-bash: syntax error near unexpected token `('
osmc@osmc:~$ parse_mount: parse(sun): expanded entry: 192.168.1.210:/c/media
-bash: syntax error near unexpected token `('
osmc@osmc:~$ parse_mount: parse(sun): gathered options:
-bash: syntax error near unexpected token `('
osmc@osmc:~$ parse_mount: parse(sun): dequote("192.168.1.210:/c/media") -> 192.168.1.210:/c/media
-bash: syntax error near unexpected token `('
osmc@osmc:~$ parse_mount: parse(sun): core of entry: options=, loc=192.168.1.210:/c/media
-bash: syntax error near unexpected token `('
osmc@osmc:~$ sun_mount: parse(sun): mounting root /mnt/NASFiles, mountpoint /mnt/NASFiles, what 192.168.1.210:/c/media, fstype nfs, options (null)
-bash: syntax error near unexpected token `('
osmc@osmc:~$ mount_mount: mount(nfs): root=/mnt/NASFiles name=/mnt/NASFiles what=192.168.1.210:/c/media, fstype=nfs, options=(null)
-bash: syntax error near unexpected token `('
osmc@osmc:~$ get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 6 version 0x30
-bash: syntax error near unexpected token `('
osmc@osmc:~$ get_nfs_info: nfs v3 rpc ping time: 0.000000
-bash: get_nfs_info:: command not found
osmc@osmc:~$ get_nfs_info: nfs v2 rpc ping time: 0.000000
-bash: get_nfs_info:: command not found
osmc@osmc:~$ get_nfs_info: host 192.168.1.210 cost 0 weight 0
-bash: get_nfs_info:: command not found
osmc@osmc:~$ get_nfs_info: called with host 192.168.1.210(192.168.1.210) proto 17 version 0x30
-bash: syntax error near unexpected token `('
osmc@osmc:~$ get_nfs_info: nfs v3 rpc ping time: 0.000000
-bash: get_nfs_info:: command not found
osmc@osmc:~$ get_nfs_info: nfs v2 rpc ping time: 0.000000
-bash: get_nfs_info:: command not found
osmc@osmc:~$ get_nfs_info: host 192.168.1.210 cost 0 weight 0
-bash: get_nfs_info:: command not found
osmc@osmc:~$ prune_host_list: selected subset of hosts that support NFS3 over TCP
-bash: prune_host_list:: command not found
osmc@osmc:~$ mount_mount: mount(nfs): calling mkdir_path /mnt/NASFiles
-bash: syntax error near unexpected token `('
osmc@osmc:~$ mount_mount: mount(nfs): calling mount -t nfs 192.168.1.210:/c/media /mnt/NASFiles
-bash: syntax error near unexpected token `('
osmc@osmc:~$ >> mount.nfs: mount system call failed
mount: bad usage
Try 'mount --help' for more information.
osmc@osmc:~$ mount(nfs): nfs: mount failure 192.168.1.210:/c/media on /mnt/NASFiles
-bash: syntax error near unexpected token `nfs'
osmc@osmc:~$ dev_ioctl_send_fail: token = 7
-bash: dev_ioctl_send_fail:: command not found
osmc@osmc:~$ failed to mount /mnt/NASFiles
-bash: failed: command not found
osmc@osmc:~$ st_expire: state 1 path /-
-bash: st_expire:: command not found
osmc@osmc:~$ expire_proc: exp_proc = 4102591568 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4102591568 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
-bash: expire_cleanup:: command not found
osmc@osmc:~$ st_ready: st_ready(): state = 2 path /-
-bash: syntax error near unexpected token `('
osmc@osmc:~$ ^Xst_expire: state 1 path /-
-bash: :s^Xst_expire: state 1 path /-: substitution failed
osmc@osmc:~$ expire_proc: exp_proc = 4102591568 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4102591568 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4102591568 finished, switching from 2 to 1
-bash: expire_cleanup:: command not found
osmc@osmc:~$ st_ready: st_ready(): state = 2 path /-
-bash: syntax error near unexpected token `('
osmc@osmc:~$ ^Cdo_notify_state: signal 2
-bash: :s^Cdo_notify_state: signal 2: substitution failed
osmc@osmc:~$ master_notify_state_change: sig 2 switching /- from 1 to 5
-bash: master_notify_state_change:: command not found
osmc@osmc:~$ st_prepare_shutdown: state 1 path /-
-bash: st_prepare_shutdown:: command not found
osmc@osmc:~$ expire_proc: exp_proc = 4097832016 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4097832016 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4097832016 finished, switching from 5 to 7
-bash: expire_cleanup:: command not found
osmc@osmc:~$ st_shutdown: state 5 path /-
-bash: st_shutdown:: command not found
osmc@osmc:~$ umount_multi: path /mnt/NASFiles incl 0
-bash: umount_multi:: command not found
osmc@osmc:~$ set_direct_mount_catatonic: set /mnt/NASFiles catatonic
-bash: set_direct_mount_catatonic:: command not found
osmc@osmc:~$ umounted direct mount /mnt/NASFiles
-bash: umounted: command not found
osmc@osmc:~$ automount_path_to_fifo: fifo name /var/run/autofs.fifo--
-bash: automount_path_to_fifo:: command not found
osmc@osmc:~$ shut down path /-
-bash: shut: command not found
osmc@osmc:~$ autofs stopped
-bash: autofs: command not found
My new logs can be found at https://paste.osmc.tv/ijasebapug
Thanks again