Hi All,
I have a Synology - Vero4k+ NFS issue: 1 folder from the 3 is inaccessible after mounting via GIU (but accessible via command line).
Details:
Shares on the Synology NAS:
bash-4.3# exportfs -v
/volume2/Music (ro,async,crossmnt,insecure,no_root_squash,no_subtree_check,insecure_locks,anonuid=1025,anongid=100,sec=sys,ro,no_root_squash,no_all_squash)
/volume2/Photo (ro,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=1025,anongid=100,sec=sys,ro,no_root_squash,no_all_squash)
/volume2/Movie (ro,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=1025,anongid=100,sec=sys,ro,no_root_squash,no_all_squash)
bash-4.3#
(Hint: Music and Video are totally identical)
Fstab on Vero:
root@osmc:/mnt# cat /etc/fstab
rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/vero-nand/root / ext4 defaults,noatime 0 0
192.168.2.2:/volume2/Music /mnt/SynologyMusic nfs ro,noauto,x-systemd.automount 0 0
192.168.2.2:/volume2/Movie /mnt/SynologyMovie nfs ro,noauto,x-systemd.automount 0 0
192.168.2.2:/volume2/Photo /mnt/SynologyPhoto nfs ro,noauto,x-systemd.automount 0 0
root@osmc:/mnt#
Relevant output of mount on Vero:
192.168.2.2:/volume2/Photo on /mnt/SynologyPhoto type nfs4 (ro,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.10.159,local_lock=none,addr=192.168.2.2)
192.168.2.2:/volume2/Music on /mnt/SynologyMusic type nfs4 (ro,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.10.159,local_lock=none,addr=192.168.2.2)
192.168.2.2:/volume2/Movie on /mnt/SynologyMovie type nfs4 (ro,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.10.159,local_lock=none,addr=192.168.2.2)
root@osmc:/mnt#
(Hint: All are totally identical)
permissions of /mnt:
root@osmc:/mnt# ls -l
total 0
drwxrwxrwx 1 root root 98 Jan 1 17:15 SynologyMovie
drwxrwxrwx 1 root root 306 Dec 23 20:17 SynologyMusic
drwxrwxrwx 1 root root 168 Dec 23 19:33 SynologyPhoto
root@osmc:/mnt#
Issue:
If I navigate in KODI to Movie --> Add Videos --> Browse --> Root filesystem --> mnt I cant enter to the SynologyMovie directory, however the two other (SynologyMusic and SynologyPhoto) is accessible, and I see the content.
Debug log:
2021-01-08 10:26:36.384 T:4067827728 ERROR: GetDirectory - Error getting /mnt/SynologyMovie/
2021-01-08 10:26:36.385 T:4067827728 ERROR: CGUIDialogFileBrowser::GetDirectory(/mnt/SynologyMovie/) failed
If I use command line (Midnight Commander) all the three folder is accessible, and the content is there.
What I realised: If I press the Enter button in KODI to enter to SynologyMovie folder, it lost all access rights suddenly, but after cca a minute is has full access again:
root@osmc:/mnt# ls -l
total 0
d--------- 1 root root 98 Jan 1 17:15 SynologyMovie
drwxrwxrwx 1 root root 306 Dec 23 20:17 SynologyMusic
drwxrwxrwx 1 root root 168 Dec 23 19:33 SynologyPhoto
root@osmc:/mnt#
Could you please help me how to fix this and make available my movie files?