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

From wiki
Jump to navigation Jump to search
imported>Franklin
m (Further Reading)
imported>Franklin
m (presentation update,)
Line 1: Line 1:
This is a guide on how to enable the [[wikipedia:Network File System (protocol)|NFS]] capabilities of the Synology product. This procedure is aimed for users who are experienced with Telnet and the Linux Operating System
This is a guide on how to enable the [[wikipedia:Network File System (protocol)|NFS]] capabilities of the Synology product. This procedure is aimed for users who are experienced with Telnet and the Linux Operating System


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 [http://www.synology.com/enu/support/download.php here].
Please make sure that the Synology product has firmware 2.0.3 - 0518 or above, along with the Telnet service enabled. <br>Both files can be found [http://www.synology.com/enu/support/download.php here].


==Instructions for the NFS Server==
==Instructions for the NFS Server==
Telnet into the Synology product and perform the following
Telnet into the Synology product and perform the following


===Enabling Service===
<pre>
<pre>
cd /usr/syno/etc/rc.d
cd /usr/syno/etc/rc.d
Line 12: Line 13:
vi /etc/exports  
vi /etc/exports  
</pre>
</pre>
Note: <nowiki>*</nowiki> needs to be replaced with a number


===Exports file===
In the exports file, add the following line
In the exports file, add the following line
<pre>
<pre>
/directory/to/export ip.of.NFS.client(ro,root_squash)
/directory/to/export ip.of.NFS.client(ro,root_squash)
Line 20: Line 22:


After saving the exports file, perform the following
After saving the exports file, perform the following
<pre>
<pre>
cd /
cd /
/usr/sbin/exportfs -a
/usr/sbin/exportfs -a
</pre>
</pre>


==Instructions for NFS Client==
==Instructions for NFS Client==
On your NFS client, perform the following to mount the NFS Server share
On your NFS client, perform the following to mount the NFS Server share
<pre>
<pre>
mount IP.of.NFS.Server:/directory/to/export /volume1/local/share/folder
mount IP.of.NFS.Server:/directory/to/export /volume1/local/share/folder
</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


Line 38: Line 38:
==Further Reading==
==Further Reading==
[http://www.faqs.org/docs/securing/chap5sec33.html The /etc/exports file]
[http://www.faqs.org/docs/securing/chap5sec33.html The /etc/exports file]
[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]

Revision as of 05:01, 11 November 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 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)

After saving the exports file, perform the following

cd /
/usr/sbin/exportfs -a


Instructions for 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


Further Reading

The /etc/exports file
Mounting NFS File Systems