NFS Issues still not solved?

Hi,

I’m also amongst those having issues with their NFS share. NAS is a Synology with the latest DSM version, OpenELEC works fine and can access the NFS shares without any problems, on Volumio no go. When adding the share it’s a green check mark, but no browsing.

It’s clearly a permission issue, but I can’t get it solved. From the shell as root I can browse the share, as user Volumio from the shell I cannot and nor from the GUI.

[size=85]root@volumio:/# ls -al /mnt/NAS/Collection/
d--------- 5 root root 4096 Nov 25 13:15 .
drwxrwxrwx 3 pi pi 4096 Nov 25 15:01 …
drwxrwxrwx 3 1026 users 4096 Nov 25 11:50 Lounge Selection - The 50 Best Hits (2015)[/size]

/var/log/mpd/mpd.log (lots of opened from / closed - with an occasional permissions denied)

[size=85]Nov 25 15:01 : client: [1133] opened from 127.0.0.1:35138
Nov 25 15:01 : client: [1133] closed
Nov 25 15:01 : client: [1134] opened from 127.0.0.1:35140
Nov 25 15:01 : client: [1134] closed
Nov 25 15:01 : errno: Failed to open ‘NAS/Collection’: Permission denied
Nov 25 15:01 : client: [1124] closed
Nov 25 15:01 : client: [1115] closed
Nov 25 15:01 : client: [1128] closed
Nov 25 15:01 : client: [1135] opened from 127.0.0.1:35143
Nov 25 15:01 : client: [1135] closed
Nov 25 15:01 : client: [1132] closed
Nov 25 15:01 : client: [1136] opened from 127.0.0.1:35145
Nov 25 15:01 : client: [1136] closed
Nov 25 15:01 : client: [1137] opened from 127.0.0.1:35149[/size]

Solution found so far here is by switching to SMB/CIFS, but I hope there is a way to fix the NFS as it appears to be working for others.

I too have a Synology running DSM 5.2-5644 Update 1 with no NFS problems. However, to get it to work I had to adjust a few things. Noticed the problems the first time when I was setting up NFS shares for use with XBMC/Kodi, which couldn’t access the shares either.
Here’s what I did (from the top of my head):

  1. Control Panel > File Services > Win/Mac/NFS > NFS Service: Advanced Settings > Make sure none of the checkboxes are checked
  2. Control Panel > Shared Folder > [pick a NFS shared folder] > NFS Permissions:
  • Hostname/IP: *
  • Privilege: Read only
  • Squash: Map all users to admin
  • Security: sys
  • Enable asynchronous: checked
  • Allow connection from unprivileged ports: checked
  • Allow users to access mounted subfolders: unchecked