To troubleshoot slow NFS performance on a server, you can follow these steps:
ping and traceroute commands to check the network connectivity and latency.showmount -e command to check the exports on the NFS server.mount command to check the NFS mount options on the client.nfsstat command on the NFS server to check the NFS server performance. This command shows the number of requests and the amount of data transferred for each NFS protocol operation.nfsiostat command on the NFS client to check the NFS client performance. This command shows the number of I/O operations and the amount of data transferred for each NFS mount point.top or htop command to check the system performance on the client and the server. This will show the CPU, memory, and I/O usage of the system, and help identify any resource bottlenecks that may be causing the slow NFS performance.By following these steps, you can gather information about the network, the NFS configuration, and the system performance, and identify the root cause of the slow NFS performance on the server. Once you know the cause, you can take appropriate steps to fix the issue, such as optimizing the network, the NFS configuration, or the system performance.