Posts: 8
Joined: Jan 2020
Reputation:
0
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
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
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.
Posts: 8
Joined: Jan 2020
Reputation:
0
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.
Posts: 3,925
Joined: Sep 2013
Reputation:
365
cat /etc/exports
Type that into your SSH window and press return. It will print the contents of the exports file to your screen.
Learning Linux the hard way !!
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
/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?
Posts: 12,622
Joined: Oct 2014
Reputation:
627
2020-01-29, 11:07
(This post was last modified: 2020-01-29, 11:09 by DarrenHill.)
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.
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
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.