Actually looking at this comment and also some of the other topics.
One more test you could do. You seemed to not have problems playing the file from local storage (emmc) but I am not sure if in that case you played via Library or just Files. So recommended test add the local file to Library and try to play via Library and see if issue happens or not.
I wil move a cpl of files to local and try them after adding to library.
Menawhile, here is a bit of a log. it continues the same way for quite a while.
osmc@osmc:/mnt$ sudo systemctl stop autofs
osmc@osmc:/mnt$ 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.nfs.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/Music_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/Music_NAS
mounted direct on /mnt/New_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/New_NAS
mounted direct on /mnt/MusicVideos_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/MusicVideos_NAS
mounted direct on /mnt/TV_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/TV_NAS
mounted direct on /mnt/Vero_Home_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/Vero_Home_NAS
mounted direct on /mnt/Movies_NAS with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/Movies_NAS
st_ready: st_ready(): state = 0 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 /-
What does showmount -e 192.168.1.5
give you?
And what do you have in auto.master?
auto.master contains - excpet the lines commented out
+dir:/etc/auto.master.d
+auto.master
/- /etc/auto.nfs.shares --timeout 15 browse
and showmount -e 192.168.1.5
osmc@osmc:~$ showmount -e 192.168.1.5
Export list for 192.168.1.5:
/volume1/homes 192.168.1.21
/volume2/Music 192.168.1.21
/volume1/Media2 192.168.1.21
/volume2/Media 192.168.1.21
added the two albums i knew were making trouble to an USB drive and scanned into my Music library. No problem playing them.
I assume 192.168.1.21 is the IP of your Vero.
You then would need to use /volume2/Media
yes 192.168.1.21 is the Vero, the etc/auto.nfs.shares file looks like this:
/mnt/Movies_NAS 192.168.1.5:/Volume2/Media/Movies
/mnt/TV_NAS 192.168.1.5:/Volume2/Media/TV
/mnt/New_NAS 192.168.1.5:/Volume1/Media2/__New
/mnt/MusicVideos_NAS 192.168.1.5:/Volume1/Media2/Music\ Videos
/mnt/Music_NAS 192.168.1.5:/Volume2/Music
/mnt/Vero_Home_NAS 192.168.1.5:/Volume1/homes/MediaCenter
if i do ls for the mnt folder i get:
Files_NAS Media_NAS MusicVideos_NAS New_NAS Vero_Home_NAS
Home_NAS Movies_NAS Music_NAS TV_NAS
Files_NAS and Media_NAS is not in auto.nfs.shares, and not in sources.xml
Remove the Movies
part also Volume has to be volume
getting closerā¦
ls: cannot open directory ā/mnt/Media_NASā: Permission denied
osmc@osmc:/etc$ ls -lah /mnt/Media2_NAS
ls: cannot open directory ā/mnt/Media2_NASā: Permission denied
osmc@osmc:/etc$ ls -lah /mnt/Music_NAS
ls: cannot open directory ā/mnt/Music_NASā: Permission denied
osmc@osmc:/etc$ ls -lah /mnt/Vero_Home_NAS
Permissions set correctly on the NAS, there was people have forgotten so allow for Subfolders
https://discourse.osmc.tv/search?q=NFS%20%22Permission%20denied%22%20order%3Alatest
Thanks, that wasnāt so obvious to set permissions at nfs as on othersā¦
Anyway,
osmc@osmc:/etc$ ls -lah /mnt/Media2_NAS
total 56K
drwxrwxrwx 5 root root 4.0K Dec 19 21:47 .
drwxr-xr-x 8 root root 4.0K Dec 20 16:14 ā¦
-rwxrwxrwx 1 1026 users 19K Aug 28 2018 .DS_Store
-rwxrwxrwx 1 1026 users 0 Feb 8 2018 .com.apple.timemachine.supported
drwxrwxrwx 24 root users 4.0K Aug 15 18:51 Music Videos
drwxrwxrwx 31 1028 users 4.0K Dec 20 12:29 __New
Now lets see if i can read ina the Music library and if its still delaying the start
We are all waiting anxious and will be surprised by the result
At least its finding something to updateā¦
while i waiting, i wanteds to remove the two empty entries in /mnt:
if i do ls for the mnt folder i get:
Files_NAS Media_NAS MusicVideos_NAS New_NAS Vero_Home_NAS
Home_NAS Movies_NAS Music_NAS TV_NAS
Files_NAS and Media_NAS is not in auto.nfs.shares, and not in sources.xml, not in fstab either.
I do find them when i browse the mnt folder as well
They are most likely empty mount points. Try sudo rmdir /mnt/Files_NAS
and sudo rmdir /mnt/Media_NAS
worked, thanks. now i just have to work on my patience ā¦
Didnt work - my patience that is.
I lost patience waiting for the music library to update and went ahead and played the songs - despite the library update running and S.M.A.R.T checks running on my NAS drives. To my surprise both troubling songs from earlier do no play as they should (and yes -. I did remove the USB stick with them first so its the NAS songs that played).
I guess we made too many changes to make certain of what exactly the problem was:
- changed from fstab to autofs
- changed from smb to nfs
- rebuilt the library (I donāt remember if i already did this early on or not)
- I have also shut down a lot of precesses in the NAS - but I doubt they were the reason for the performance since some files ALWAYS had the delay at the start while some other didnāt.
Anyway - for now I say thank you and (in a low voice so Murphy doesnt hear) that the problem seems to be solved!
Thanks again and an early merry christmas unless i have to come back again after more testing
Well I agree we now made to much changes to be sure.
But at least with NFS and autofs you are now on the most stable and performant solution
Just to add that I had a problems with my NAS and nfs. Could not fix them despite nice support from this forum, so I switched to ftp and that fixed all my problems.