Yes you correctly configured the autofs (good job) but now you need to also change your sources from the smb ones to the root filesystem ones
/mnt/readynas/media/videos
/mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
/mnt/tng/4k
Yes you correctly configured the autofs (good job) but now you need to also change your sources from the smb ones to the root filesystem ones
/mnt/readynas/media/videos
/mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
/mnt/tng/4k
fzinken thanks, where do i do this ? and i have to delete my sources in the Vero 4k it self ?
Via “Add Source” as you do before.
Well you can keep them for the time being if you name the new sources differently so you know how to find the new one for testing
so in teh vero through file manager than add source or media/library/videos because i think i will see teh same as i did before ( sorry if i’m stupid
Yes either via file manager or Videos - Files, Add Source than choose root filesystem instead of network source
do i have to reboot when i did this because when i want to browse it i get the messag path not found or invalid
Did you tried on the command line (putty) if your autofs mount was successful (browse the directories)?
this is really the first time i use putty , sorry for so many questions, how do i do that ?
can you do something with this ?
osmc@osmc:~$ sudo automount -f -v -d
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(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
do_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
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/readynas/media/videos with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/readynas/media/videos
mounted direct on /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
mounted direct on /mnt/tng/4k with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/tng/4k
st_ready: st_ready(): state = 0 path /-
statemachine:1500: got unexpected signal 28!
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 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 = 4100977744 path /-
expire_cleanup: got thid 4100977744 path /- stat 0
expire_cleanup: sigchld: exp 4100977744 finished, switching from 5 to 7
st_shutdown: state 5 path /-
umount_multi: path /mnt/readynas/media/videos incl 0
set_direct_mount_catatonic: set /mnt/readynas/media/videos catatonic
umounted direct mount /mnt/readynas/media/videos
umount_multi: path /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos incl 0
set_direct_mount_catatonic: set /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos catatonic
umounted direct mount /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
umount_multi: path /mnt/tng/4k incl 0
set_direct_mount_catatonic: set /mnt/tng/4k catatonic
umounted direct mount /mnt/tng/4k
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
shut down path /-
autofs stopped
osmc@osmc:~$ osmc@osmc:~$ sudo automount -f -v -d
-bash: osmc@osmc:~$: command not found
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
expire_proc: exp_proc = 4104123472 path /-
expire_cleanup: got thid 4104123472 path /- stat 0
expire_cleanup: sigchld: exp 4104123472 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /-
st_expire: state 1 path /-
osmc@osmc:~$ Starting automounter version 5.1.2, master map /etc/auto.master
-bash: Starting: command not found
osmc@osmc:~$ using kernel protocol version 5.02
-bash: using: command not found
osmc@osmc:~$ lookup_nss_read_master: reading master file /etc/auto.master
-bash: lookup_nss_read_master:: command not found
osmc@osmc:~$ do_init: parse(sun): init gathered global options: (null)
-bash: syntax error near unexpected token (' osmc@osmc:~$ lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d -bash: syntax error near unexpected token
(’
osmc@osmc:~$ lookup_nss_read_master: reading master dir /etc/auto.master.d
-bash: lookup_nss_read_master:: command not found
osmc@osmc:~$ lookup(dir): dir map /etc/auto.master.d missing or not readable
-bash: syntax error near unexpected token dir' osmc@osmc:~$ lookup(file): failed to read included master map dir:/etc/auto.master.d -bash: syntax error near unexpected token
file’
osmc@osmc:~$ lookup_read_master: lookup(file): read entry +auto.master
-bash: syntax error near unexpected token (' osmc@osmc:~$ lookup_nss_read_master: reading master files auto.master -bash: lookup_nss_read_master:: command not found osmc@osmc:~$ do_init: parse(sun): init gathered global options: (null) -bash: syntax error near unexpected token
(’
osmc@osmc:~$ lookup(file): failed to read included master map auto.master
-bash: syntax error near unexpected token file' osmc@osmc:~$ lookup_read_master: lookup(file): read entry /- -bash: syntax error near unexpected token
(’
osmc@osmc:~$ master_do_mount: mounting /-
-bash: master_do_mount:: 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:~$ lookup_nss_read_map: reading map file /etc/auto.smb.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/readynas/media/videos with timeout 15, freq 4 seconds -bash: mounted: command not found osmc@osmc:~$ do_mount_autofs_direct: mounted trigger /mnt/readynas/media/videos -bash: do_mount_autofs_direct:: command not found osmc@osmc:~$ mounted direct on /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos with timeout 15, freq 4 seconds -bash: mounted: command not found osmc@osmc:~$ do_mount_autofs_direct: mounted trigger /mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos -bash: do_mount_autofs_direct:: command not found osmc@osmc:~$ mounted direct on /mnt/tng/4k with timeout 15, freq 4 seconds -bash: mounted: command not found osmc@osmc:~$ do_mount_autofs_direct: mounted trigger /mnt/tng/4k -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:~$ statemachine:1500: got unexpected signal 28!
-bash: statemachine:1500:: command not found
osmc@osmc:~$ st_expire: state 1 path /-
-bash: st_expire:: command not found
osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /- -bash: st_expire:: command not found osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /- -bash: expire_proc:: command not found osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0 -bash: expire_cleanup:: command not found osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /-
-bash: st_expire:: command not found
osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /- -bash: st_expire:: command not found osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /- -bash: expire_proc:: command not found osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0 -bash: expire_cleanup:: command not found osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /-
-bash: st_expire:: command not found
osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /-
-bash: expire_proc:: command not found
osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0
-bash: expire_cleanup:: command not found
osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /- -bash: st_expire:: command not found osmc@osmc:~$ expire_proc: exp_proc = 4104123472 path /- -bash: expire_proc:: command not found osmc@osmc:~$ expire_cleanup: got thid 4104123472 path /- stat 0 -bash: expire_cleanup:: command not found osmc@osmc:~$ expire_cleanup: sigchld: exp 4104123472 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:~$ st_expire: state 1 path /-
-bash: st_expire:: command not found
osmc@osmc:~$
Reboot just to be safe and then try:
cd /mnt/readynas/media/videos
you only need to use the automount command when doing the initial setup if you were having problems.
an where do i do this ?
cd /mnt/readynas/media/videos
You do it from Putty, just like any other command you would run on the Vero command line.
-bash: cd: /mnt/readynas/media/videos: no such file or directory
We will need to see the content of your autofs setup files. Please paste the content here so we can be sure that they look good.
/mnt/readynas/media/videos -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.178.10/media/videos
/mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.178.3/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
/mnt/tng/4k -fstype=cifs,rw,credentials=/home/osmc/.smbcredentials,iocharset=utf8,uid=osmc,gid=osmc ://192.168.178.15/4k
also did this nano ~/.smbcredentials
and add
username=…
password=…
Any reason why you used SMB instead of NFS? NFS will perform better.
I have to step away from the computer for about an hour. If no one else picks up on this, we will do more troubleshooting when I get back.
ok thank you no hurry , can also try nfs
Yea, try NFS while I’m gone and let us know how that goes. If it doesn’t work we will try again when I get back.
did this i think it is correct …
sudo nano /etc/auto.nfs.shares
/mnt/readynas/media/videos 192.168.178.10:/media/videos
/mnt/dune/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos 192.168.178.16:/0e8c9ea8_f96d_4822_9c2a_7d66219e9baa/videos
/mnt/tng/4k 192.168.178.15:/4k
osmc@osmc:~$ sudo systemctl restart autofs
osmc@osmc:~$ ls -lah /mnt/tng/4k
ls: cannot open directory ‘/mnt/tng/4k’: No such file or directory
After changing to NFS, did you:
sudo systemctl restart autofs
After doing if it still is not working, we need to see more detail of what’s happening. To do this you will need 2 putty connections to the Vero.
In the first connection:
sudo systemctl stop autofs
sudo automount -f -v -d
And in the second connection:
ls -lah /mnt/tng/4k
Then paste the output from the first window (the one with automount running).