NFS: System Error: No route to host (retrying)
Hi,
I am configuring NFS for my LAN as following: The server(192.168.2.101) has nfs, nfslock, portmap running. The /etc/exports file is: Code:
#this has only one line The /etc/fstab on the client is: Code:
#the local mount directives is cut Code:
localhost mount[3323]: mount to NFS server '192.168.2.101' failed: System Error: No route to host (retrying). Code:
ping 192.168.2.101 On the server, Code:
ping 192.168.2.103 Does anyone have any idea what may goes wrong? PS:The document i used to config NFS is http://www.linuxhomenetworking.com/w...FS#NFS_And_DNS which also mentions that the client must be able to use host to look up server name and the reverse but does not say how to implement it. Does it actually cause this error? Hope anyone can give a hint Thai |
Have you run
Code:
exportfs -ra Well, actually this is just a wild guess. No route to host errors is what I get when I try the wrong IP adress. Since you can ping, maybe it's a firewall issue? Are your rpc.nfsd and rpc.mountd started? Have you tried mounting the share somewhere in /mnt (where it should be)? What happens when you type Code:
mount -t nfs 192.168.2.101:/home /mnt |
Hi, thank you for your reply.
I did use exportfs -ra serviceconfig shows: nfs rpc.mountd (pid 1995) is running... nfsd (pid 1992 1991 1988 1987 1986 1985 1984 1983) is running... rpc.rquotad (pid 1970) is running... Try mouting NFS volume manually as you advise yield the same error. Any other suggestion? Since both user and client use portmap, i guess there's nothing to do with the firewall since we never know what port will be assigned to NFS after the handshaking. |
2002
There is a way to force the port to always be the same (that what I had to do). You will also need to check your /etc/hosts.allow file. I think everything you need should be in this link. http://forums.fedoraforum.org/forum/...ight=nfs+setup Lazlow |
All times are GMT -5. The time now is 03:04 AM. |