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.
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.
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.
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.
This article will guide you on how to fix #NFS server not responding timed out #error which occurs when there is a heavy #server or #network load.
Why NFS is not working?
i. Check the file /proc/fs/nfs/exports and make sure the volume and client are listed correctly.
ii. Finally, try to ping the client from the server, and try to ping the server from the client.
iii. If this doesn't work, or if there is packet loss, you may have lower-level network problems.