Configuring Synology NAS fix for NFS

Some Synology NAS stations have a certain incompatibility with XBMC's internal NFS driver. Access to the shared folders of your Synology may then be a problem. One possibility is that the default insecure_locks setting used by Synology firmware is holding back the connect from OpenELEC/XBMC. One of the affected Synology models is the DS209 series. Here is how to fix that.

Open an SSH connection to your Synology NAS, and login as root. Use your admin password to complete the connection.

You can check the contents of the exports file using the 'cat' command, for example:



You will have to edit the exports file in the /etc directory.

''vi /etc/exports

Each of your shared folders with NFS access will show up in this listing with the default insecure_locks setting.

Change the setting for all those folders with OpenELEC access from 'insecure_locks' into 'insecure', so it will look like this:



Save the edited exports file with [ESC]:wq, or reboot the NAS entirely. (Do not forget the : when saving your exports file)

The new settings in the exports file now have to be finalized, so type in:

''exportfs -a

You can also do a reboot of your Synology NAS, but the exportfs command should do the trick too.

Now OpenELEC should have full NFS access to your shared folder(s) on your Synology NAS.