Software⏱️ 4 min read📅 2026-06-19

How to Fix: Error mounting NFS unit between synology server and Raspberry Pi client

Error mounting NFS unit between Synology server and Raspberry Pi client, Connection timed out and Port mapper failure - Unable to receive: errno 113 (No route to host)

Quick Answer: Check the firewall rules on both the Synology Server and Raspberry Pi client to ensure that the necessary ports are open for NFS. Also, verify that the IP addresses of both devices are correctly configured and reachable from each other.

The error 'Connection timed out' when trying to mount an NFS unit between a Synology Server and a Raspberry Pi client can be frustrating for users who rely on network file sharing. This issue affects individuals who need to access files stored on the Synology Server from their Raspberry Pi device.

This problem is particularly vexing because it prevents users from accessing important data, making it essential to resolve as soon as possible.

💡 Why You Are Getting This Error

  • The primary reason for this error is that the NFS client on the Raspberry Pi cannot establish a connection with the Synology Server. This can be due to several factors, including incorrect NFS configuration, firewall rules blocking the necessary ports, or issues with the network connectivity between the two devices.
  • Alternatively, the issue might also arise from the port mapper not being able to receive RPC requests, which is indicated by the 'clnt_create: RPC: Port mapper failure' error message.

🔧 Proven Troubleshooting Steps

Check and adjust firewall rules

  1. Step 1: Open a terminal on the Raspberry Pi and navigate to the directory where you want to mount the NFS share. Then, run the command 'iptables -nvL' to list all the current firewall rules.
  2. Step 2: Verify that the necessary ports (TCP/2049, UDP/2049) are open in the firewall rules for both incoming and outgoing traffic. If not, add a new rule using the '-A' option to allow these ports.
  3. Step 3: For example, you can add the following commands to allow NFS traffic: 'iptables -A INPUT -p tcp --dport 2049 -j ACCEPT' and 'iptables -A OUTPUT -p udp --dport 2049 -j ACCEPT'.
  4. Step 4: Save and apply the changes by running 'iptables-save > /etc/iptables.txt' followed by 'service iptables restart'.

Check NFS configuration on Synology Server

  1. Step 1: Log in to your Synology DiskStation Manager and navigate to Control Panel > Shared Folders > Mount Points.
  2. Step 2: Select the mount point that you want to access from the Raspberry Pi and click 'Edit'. Make sure that the 'Type' is set to 'NFS' and the 'Server IP Address' matches the IP address of your Raspberry Pi.
  3. Step 3: Also, ensure that the 'Port' field is set correctly (usually 2049 for NFS). You can also try setting the 'Timeout' field to a higher value if necessary.
  4. Step 4: Click 'Apply' and then 'Save' to save the changes. Then, restart the NFS service on your Synology Server by running 'service nfs-server restart'.

💡 Conclusion

To resolve the error mounting an NFS unit between a Synology Server and a Raspberry Pi client, you can try two primary methods: adjusting firewall rules on the Raspberry Pi to allow necessary ports or checking and adjusting the NFS configuration on your Synology Server. If both methods fail, further troubleshooting may be required.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions