Are you trying to fix the error "NFS server not responding timed out" ?
This guide is for you.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to fix NFS related issues.
In this context, we shall look into the causes of this error and step to resolve it.
More Information about NFS (Network File System) and 'server not responding timed out' error ?
The Network File System comprises of the client-side file system and a server-side file system. The client and server communicate with each other using Remote Procedure Call (RPC) messages over the network. Many common tools such as ping, traceroute or tracepath are available to verify that the client and server machines can reach each other.
But if they are not able to reach then examine the Network Interface Card (NIC) settings using either ifconfig or ethtool to verify the IP settings.
When there is a heavy server or network load, it causes RPC message responses to time out. As a result, the NFS file system reports a "server not responding" error.
This error message specifies that the NFS client doesn't receive any response from the NFS server end. Also, every message specifies that one NFS/RPC request was sent retrans times and timed out each time. Having the default options of retrans and timeo, this message will be printed after 180 seconds.
What triggers NFS server not responding timed out error ?
Here are the different causes of this error.
1. The problem between the NFS Client and Server
The problem between these two arises when there is an overloaded, misconfigured, or malfunctioning switches, firewalls, or networks that may cause NFS requests to get dropped.
2. NFS Server having a problem
The NFS server contains hardware or a software bug that results in the dropping of the NFS request.
3. NFS client having a problem
The NFS Client having some network misconfiguration, NIC driver or firmware bug causing NFS requests to be dropped. Also, the NFS Client firewall doesn’t allow the NFS traffic in or out.
How to fix NFS server not responding timed out error ?
To fix this NFS issue, you can apply the following tips;
1. Change the mount options retry, timeo, and retrans to a higher value.
2. Change the default value of the parameters to retry=6, timeo=60, retrans=6.
3. Make sure that on both the client and server-side the NFS service is running.