Fedora 16 NFS share stopped working unexpectedly.
Today I mounted my NFS server as usual (I usually do so every few months) and it worked with relatively few problems (had to restart the nfs-server service). After about a half hour, the NFS server screen went black, the keyboard froze for a few seconds and then the computer rebooted. Since then, my notebook (the thing connecting to the server) has been unable to connect to my NFS server (even after rebooting). It just keeps timing out. Both computers are Fedora 16.
So far I have tried editing my /etc/exports, disabling the firewall on both machines, and modifying my mount options but my notebook will no longer connect to my NFS server. Is there any way I can fix this? My /etc/exports: Quote:
Code:
mount -t nfs <server IP>:/home/user/Public /media/Public This has worked for me for 9 months thus far. I originally posted this under "Linux - Server" but decided it is probably better to post it here. Any moderators feel free to remove the one in "Linux - Server". |
@ Reply
Hi kev717,
Let us start from beginning. Check the following things: 1. Connectivity between both client and server machines. You can use ping for that. 2. NFS service status on the server. Command you can use: Code:
service nfs status Code:
telnet <server name or ip address> 2049 You said that you have tried editing /etc/export. The one that you have pasted is the edited one or the orginal one? Did you make any recent changes to any of these machines? It will be great if you could run the mount -t nfs command again and paste the output of the following: Code:
tail /var/log/messages |
1. Yes, the ping is successful (I get around 1.00 ms).
2. Output from running "service nfs-server status" Quote:
Output from tail /var/log/messages on client machine: Quote:
Quote:
|
@ Reply
As you said that when you try to telnet nfs server on port 2049 you get connection refused that means that there is something that is blocking the connection.
You said that you already tried disabling the firewall. How did you disable it? I mean did you use system-config-firewall to disable it? Do you know which updates got installed today? |
I don't know which updates were installed today, but it stopped working before I installed any updates today. I tried disabling firewall through system-config-firewall. The client computer never had firewall enabled. There is also a firewall between the main network and the outside internet which I have tried disabling.
|
@ Reply
Could you please explain me your network setup because it definitely appears that there is something that is blocking the traffic to that server.
As we know that the service is running on the server then there has to be something that is blocking the trafic. Otherwise your telnet output should be something like: Code:
telnet server 2049 |
Coming in from the cable modem, I have a router with a firewall on it. This firewall only affects incoming packets from the modem. From there, my internet is distributed to my computers, the main server in one room and my notebook on the wireless.
The notebook has no firewall on it at all and the main computer (the nfs server) has a firewall via system-config-firewall which I have tried disabling. The firewall on the NFS server has both 2049 tcp and udp ports open. The nfs server is able to telnet to the notebook, however the reverse is not true. The nfs server is also unable to connect to itself (I tried mounting an nfs share on the machine that nfs server that was serving it), and the connection still timed out. I am thinking there is probably something misconfigured on my server, but I'm not sure what it could be. |
Found it!
For some reason, the rpc.nfsd was failing to start. If I execute it manually it starts working again. Thanks for your help -- kev717. |
@ Reply
If system is not able to telnet itself on port 2049 and if you are not able to mount nfs share on the system itself then the issue is with service itself.
Is it possible to reboot this system? If yes, then reboot it. Commands that we can try are: Code:
systemctl restart nfs-server.service Edit: Just saw your post that you found the solution. From the output you pasted earlier it was looking like it was working fine. But it happens sometime :-). Please mark the thread as solved. |
All times are GMT -5. The time now is 02:51 AM. |