Editing How to enable NFS on the Synology Server

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 13: Line 13:


===Enabling Service===
===Enabling Service===
With DSM-5.1 it's already there.
<pre>
<pre>
cd /usr/syno/etc/rc.sysv
cd /usr/syno/etc/rc.d
mv S83nfsd.sh.sample S83****.sh
mv S83nfsd.sh.sample S83****.sh
reboot (or /usr/syno/etc/rc.d/S83****.sh start)
reboot (or /usr/syno/etc/rc.d/S83****.sh start)
Line 21: Line 20:
</pre>
</pre>
Note: <nowiki>*</nowiki> needs to be replaced with a number
Note: <nowiki>*</nowiki> needs to be replaced with a number
Note, in newer versions (DSM4), the <code>/usr/syno/etc/rc.d/S83nfsd.sh</code> will already exist. If you try to "<code>start</code>" it, you will get a message telling you that "<code>NFS server is not enabled. Skip...</code>"
You'll need to edit the <code>/etc/synoinfo.conf</code> file and add <code>runnfs="yes"</code>.  Then you'll be able to run <code>/usr/syno/etc/rc.d/S83nfsd.sh start</code>


===Exports file===
===Exports file===
Line 50: Line 45:


==Instructions for Linux NFS Client==
==Instructions for Linux 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>
Line 57: Line 51:
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


<div style="border:1px solid black">
'''Important:''' NFS on the Synology Server is case-'''insensitive''' (as of November 8, 2008; [http://www.synology.com/enu/forum/viewtopic.php?f=3&p=45501 this may change in a later firmware version]).  This means if you perform backups by (say) [http://www.samba.org/rsync rsync], and the source directory contains files named "Foo" and "foo", the destination directory will contain only '''one''' of these files, as "Foo" ovewrites "foo" case-insensitively. This behavior happens silently.
'''Update: DSM is case-sensitive over NFS since DSM 2.1'''
</div>


==Notes==
==Notes==
Line 69: Line 59:
:NFS 2.0
:NFS 2.0
:NFS 3.0
:NFS 3.0
:NFS 4.0


== MTU Jumbo frames ==
== MTU Jumbo frames ==
Line 80: Line 69:
<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]]
<br>[[Export Filesystem as NFS]]
[[Category:SynologyWiki]]
[[Category:ToBeExported]]
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)