Editing
How to enable NFS on the Synology Server
(section)
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.
Anti-spam check. Do
not
fill this in!
==Instructions for the NFS Server== Telnet into the Synology product and perform the following ===Enabling Service=== With DSM-5.1 it's already there. <pre> cd /usr/syno/etc/rc.sysv mv S83nfsd.sh.sample S83****.sh reboot (or /usr/syno/etc/rc.d/S83****.sh start) vi /etc/exports </pre> 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=== In the exports file, add the following line <pre> /directory/to/export ip.of.NFS.client(ro,root_squash,no_subtree_check) </pre> Save the export file Check if the file /var/lib/nfs/rmtab does exist, if not, then run the following command <pre> touch /var/lib/nfs/rmtab </pre> Now perform the following command <pre> cd / /usr/sbin/exportfs -a </pre> ===Testing=== Look at /var/log/messages to check whether the settings are ok with your Synology product
Summary:
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)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information