Solved KODI not mounting NFS folder - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Solved KODI not mounting NFS folder (/showthread.php?tid=351332) |
KODI not mounting NFS folder - lecriquet - 2020-01-29 Hello, I'm struggling with my synology DS218j trying to read my movies on a XBOX ONE S by NFS. For some reason, it worked perfectly in a first time. Then I did stuff on my synology and it doesn't work anymore. In fact I see my NAS, I see the folders I gave the authorization to but I can't see the files inside. I tried desabling the firewall but it's still the same. I also tried via my smartphone --> same Do you have any idea where does it come from and how can I handle it? Thanks RE: KODI not mounting NFS folder - Klojum - 2020-01-29 It could be in the /etc/exports settings that are probably generated by the Synology's GUI. You could start a SSH session and log into your NAS, and see what is currently used in the exports file. RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 Thanks for the answer. I have no idea how to do it. I managed to start a SSH session and log into my NAS but don't know what to do next. Complete newbie, sorry. RE: KODI not mounting NFS folder - black_eagle - 2020-01-29 cat /etc/exports Type that into your SSH window and press return. It will print the contents of the exports file to your screen.
RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 (2020-01-29, 01:42)black_eagle Wrote: cat /etc/exports Here it is: https://paste.kodi.tv/ufozegexeq RE: KODI not mounting NFS folder - Klojum - 2020-01-29 /volume1/test\040videos *(rw,async,no_wdelay,crossmnt,insecure,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100) I don't understand the backslash in the folder path... Also insecure and insecure_locks together? Must be something new. /volume1/video *(ro,async,no_wdelay,crossmnt,insecure,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100) This must be the original one that still works? RE: KODI not mounting NFS folder - DarrenHill - 2020-01-29 When you set up the NFS permissions, you need to map the files and folders to root or whatever your admin user is called (the squash entry on the parameters in the NFS permissions page) otherwise there's no permission for the files/folders to be visible and so they're not. I had this issue initially on my 1019+ and setting the mapping fixed it. RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 (2020-01-29, 11:04)Klojum Wrote:I did 2 folders. The original one is called "video". It worked at the beginning but now I can only see it but can't see the files inside. Then I did a "test video" folder (not "test") that I can see but, as the "video", can't see the files inside I have no idea where this backslash is coming from. RE: KODI not mounting NFS folder - Klojum - 2020-01-29 I prefer not to use spaces in folders or paths. The \040 must be Synology's translation of a space. You could try editing the /etc/exports file (I assume Synology has 'nano' onboard as an editor), and then remove the 'insecure' parameter. First create a backup of the exports file first: cp /etc/exports /etc/exports_bkp , or some other backup filename.Then CTRL-S to save (or CTRL-O and confirm by Yes), and CTRL-X to exit. Then restart the NFS server, or the whole NAS. RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 (2020-01-29, 11:07)DarrenHill Wrote: When you set up the NFS permissions, you need to map the files and folders to root or whatever your admin user is called (the squash entry on the parameters in the NFS permissions page) otherwise there's no permission for the files/folders to be visible and so they're not. I don't have access to my NAS yet but my folders are set this way: Hostname or IP: * Privilege: read only or read/write squash: Map all users to admin Security: sys I'll try to change the squash entry to "Map root to admin" when back home. RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 (2020-01-29, 11:22)Klojum Wrote: I prefer not to use spaces in folders or paths. The \040 must be Synology's translation of a space.OK. Dumb question to be sure I understood well: I only have to remove 'insecure' to get this /volume1/test\040videos *(rw,async,no_wdelay,crossmnt,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100) /volume1/video *(ro,async,no_wdelay,crossmnt,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100) Then I save and restart? I'll first try DarrenHill's answer, then yours and let you know. Thanks a lot RE: KODI not mounting NFS folder - DarrenHill - 2020-01-29 (2020-01-29, 11:25)lecriquet Wrote: I don't have access to my NAS yet but my folders are set this way: Your current entry is almost the same as mine - sorry I was doing it from memory and misremembered a bit. My only difference is I use an explicit IP address range rather than * but the priv/squash/security settings are the same. So it's not that, although before I set up my squash I only saw the root folder and no content. Just to sanity check, does your admin account have access to the media? RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 @DarrenHill : Yes my admin acount has access to the media RE: KODI not mounting NFS folder - lecriquet - 2020-01-29 IT WOOORKS!!! I only changed squash to 'map root to admin' and it now works like a charm. Thank you all for your time and help KODI not mounting NFS folder - DarrenHill - 2020-01-29 @lecriquet - you're welcome. Sounds like you hit the same glitch that I did after all Thread marked solved. |