How to enable NFS on the Synology Server: Difference between revisions

From wiki
Jump to navigation Jump to search
imported>Mrjcleaver
imported>Franklin
m (Organizing, presentation update)
Line 33: Line 33:
</pre>
</pre>


==Testing==
===Testing===
# Look at /var/log/messages to check whether the settings are ok with your Synology product
Look at /var/log/messages to check whether the settings are ok with your Synology product


==Notes==
# The NFS mount is not shown in the web interface


==Instructions for Linux NFS Client==
==Instructions for Linux NFS Client==
Line 45: Line 43:
</pre>
</pre>
Note: /volume1/local/share/folder must exist locally, otherwise the mount will fail
Note: /volume1/local/share/folder must exist locally, otherwise the mount will fail


==Notes==
==Notes==
The NFS Service is disabled after every firmware upgrade.
The NFS Service is disabled after every firmware upgrade.
<br>The NFS mount is not shown in the web interface
<br>Files saved on the Synology server are case-insensitive.  
<br>Files saved on the Synology server are case-insensitive.  
<br>Supported versions:
<br>Supported versions:
:NFS 2.0
:NFS 2.0
:NFS 3.0
:NFS 3.0


==Additional Resources==
==Additional Resources==
Line 58: Line 59:
<br>[http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-nfs-mount.html Mounting NFS File Systems]
<br>[http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-nfs-mount.html Mounting NFS File Systems]
<br>[[Windows Services for UNIX 3.5 Fast Setup Guide]]
<br>[[Windows Services for UNIX 3.5 Fast Setup Guide]]
<br>[[Export Filesystem as NFS]]

Revision as of 23:00, 13 December 2007

This is a guide on how to enable the NFS capabilities of the Synology product.
This procedure is aimed for users who are experienced with Telnet and the Linux Operating System
Please note that improper manipulation or modification of the Synology server may result in machine malfunction or loss of data.
Please read the General Disclaimer before modifying the Synology product.

Acquire Files

Please make sure that the Synology product has firmware 2.0.3 - 0518 or above, along with the Telnet service enabled.
Both files can be found here.


Instructions for the NFS Server

Telnet into the Synology product and perform the following

Enabling Service

cd /usr/syno/etc/rc.d
mv S83nfsd.sh.sample S83****.sh
reboot (or /usr/syno/etc/rc.d/S83****.sh start)
vi /etc/exports 

Note: * needs to be replaced with a number

Exports file

In the exports file, add the following line

/directory/to/export ip.of.NFS.client(ro,root_squash,no_subtree_check)

After saving the exports file, perform the following

cd /
/usr/sbin/exportfs -a

Testing

Look at /var/log/messages to check whether the settings are ok with your Synology product


Instructions for Linux NFS Client

On your NFS client, perform the following to mount the NFS Server share

mount IP.of.NFS.Server:/directory/to/export /volume1/local/share/folder

Note: /volume1/local/share/folder must exist locally, otherwise the mount will fail


Notes

The NFS Service is disabled after every firmware upgrade.
The NFS mount is not shown in the web interface
Files saved on the Synology server are case-insensitive.
Supported versions:

NFS 2.0
NFS 3.0


Additional Resources

Synology NFS Forum Room
The /etc/exports file
Mounting NFS File Systems
Windows Services for UNIX 3.5 Fast Setup Guide
Export Filesystem as NFS