1827892 Members
1817 Online
109969 Solutions
New Discussion

Re: NFS problem

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

NFS problem

Red Hat enterprise linux 3 (both servers)

Fileserver01 - Server origin (the one which has the filesystem to be mounted by another server)

Ita1 - Server which can mount successfully the Fileserver01 NFS filesystem.

Ita2 - Server that cannot mount the Fileserver01 NFS filesystem.

Error message:
[root@ita3 log]# mount fileserver01:/bk1 /oback/bk1
mount: RPC: Unable to receive; errno = Connection refused

Configuration data in Ita3:
[root@ita3 log]# rpcinfo -p fileserver01
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 655 rquotad
100011 2 udp 655 rquotad
100011 1 tcp 658 rquotad
100011 2 tcp 658 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100021 1 tcp 32770 nlockmgr
100021 3 tcp 32770 nlockmgr
100021 4 tcp 32770 nlockmgr
100005 1 udp 673 mountd
100005 1 tcp 676 mountd
100005 2 udp 673 mountd
100005 2 tcp 676 mountd
100005 3 udp 673 mountd
100005 3 tcp 676 mountd
[root@ita3 log]# service portmap status
portmap (pid 10403) is running...
[root@ita3 log]# service nfs status
rpc.mountd (pid 10434) is running...
nfsd (pid 10430 10429 10428 10427 10426 10425 10424 10423) is running...
rpc.rquotad (pid 10418) is running...
[root@ita3 log]# service nfslock status
rpc.statd (pid 10455) is running...

Configuration data in Fileserver01:
[root@fileserver01 log]# cat /etc/hosts
...
209.160.184.219 fileserver01.lc.org fileserver01
209.160.184.210 ita1
209.160.184.211 ita2
209.160.184.212 ita3

[root@fileserver01 log]# cat /etc/exports
/bk1 ita1(rw,sync) ita2(rw,sync) ita3(rw,sync)

Any idea about the problem?
6 REPLIES 6
Vincent Fleming
Honored Contributor
Solution

Re: NFS problem

It seems that every time I have troubles like this - it's the name service.

To check for this, try using the IP addresses instead of names in /etc/exports.

If that works, then you've got a name resolution problem.
No matter where you go, there you are.
Bill Thorsteinson
Honored Contributor

Re: NFS problem

Check hosts.allow and hosts.deny. If
you have limited access to portmap you
won't get to the NFS mount service.
Ivan Ferreira
Honored Contributor

Re: NFS problem

What is the output of showmount -e fileserver01 from ita3?

Ensure that there is not firewall blocking your access.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tonatiuh
Super Advisor

Re: NFS problem

Ivan,

All servers are in the same LAN Switch (no firewall).

[root@ita1 root]# showmount -e fileserver01
rpc mount export: RPC: Unable to receive; errno = Connection refused

As you can see, right now the problem is extended to Ita1 (there is no more successful NFS in server Ita1).
Muthukumar_5
Honored Contributor

Re: NFS problem

Try this,

showmount -e


only.

--
Muthu
Easy to suggest when don't know about the problem!
Tonatiuh
Super Advisor

Re: NFS problem

NFS Service (which was started) shutted down in fileserver01. I unknow why, but I have started services again, and everything is working well.

THANK YOU