NFS service getting stopped automatically every 30days

Latest response

We have one nfs server where around 20 RHEL clients access the /opt/applications folder. The nfs service goes down. Then users will get the error message as stale nfs file handle when they login. Need to find the root cause and rectify it to avoid this is future.

We are using RHEL6.8 on the nfs server and the clients.

This happens every month (around 28 - 30 days)

the nfs service need to started (1st rpcbind & then nfs) or the server need to be rebooted

Responses

Girish, you may log a case with Red Hat if you got subscription. Since this is forum, you may not get faster response if that is a critical issue/situation over there. Also, this forum is not ideal for your problem statement which needs RCA, so a log a case with Red Hat.

I had raised the issue with Red Hat, but they said the premium subscription got closed last year. So didn't get further update from them. Any logs I can check to find out myself.

You would need to look at the logs to understand about system activity before the nfs server went down. Check in /var/log/messages file and look at the trace of logs before the system reboot so that you could get an idea on what happened, what caused system reboot/down issue.

Analyzing root cause for server reboot/hung is a broader term which you would need to invest time and efforts for successful chase. Also, look at the sar files generated on that day (when system rebooted) to understand about processor/memory/IO/network utilization and these files are stored under /var/log/sa folder. You could use sar command as shown below to get details:

---Memory Utilization Data---

LANG=C /usr/bin/sar -r -f <SARFILE>

EXAMPLE: LANG=C /usr/bin/sar -r -f /var/log/sa/sa22

---Swap Utilization Data---
LANG=C /usr/bin/sar -S -f <SARFILE>

---Network Statistics--- 
LANG=C /usr/bin/sar -n DEV -f <SARFILE>

---CPU Utilization Data---
LANG=C /usr/bin/sar -P ALL -f <SARFILE>

---Disk Utilization---
LANG=C /usr/bin/sar -dp -f <SARFILE>

---Load Average Statistics---
LANG=C /usr/bin/sar -q -f <SARFILE>
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.