How to enable NFS on the Synology Server
obsolete with Firmware version: DSM 2.0-722
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 make sure that the Synology product has firmware 2.0.3 – 0518 or above, along with the Telnet service or SSH 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
e.g.: /volume1/upload 192.168.* (ro,root_squash,no_subtree_check)
Save the export file Check if the file /var/lib/nfs/rmtab does exist, if not, then run the following command:
touch /var/lib/nfs/rmtab
Now perform the following command
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.Synology.NAS.Server:/volume1/upload /mnt
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
MTU Jumbo frames
For some NFS clients (eg. TViX 6500/7000), errors are reported if jumbo frames are enabled. Mounting the NFS is possible: try disabling the jumbo frames setting in the Synology Disk Station Manager
Additional Resources
http://www.synology.com/enu/forum/viewforum.php?f=41
http://www.faqs.org/docs/securing/chap5sec33.html
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-nfs-mount.html
http://www.synology.com/wiki/index.php/Export_Filesystem_as_NFS
http://www.synology.com/wiki/index.php/How_to_enable_NFS_on_the_Synology_Server
Comments (No comments)
There are no comments for this post so far.
Post a comment