LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mount: RPC: Timed out NFS RHEL4 (https://www.linuxquestions.org/questions/linux-software-2/mount-rpc-timed-out-nfs-rhel4-544717/)

ajaz_javeed 04-10-2007 01:01 AM

mount: RPC: Timed out NFS RHEL4
 
Hello everyone,

I am facing issues in NFS. I have two machines "sys21" and "sys19". Both have RHEL4 installed and the portmap and NFS services running.

sys21]# showmount -e sys19
from sys21 lists the exported directories of sys19
similarly,
sys19]# showmount -e sys21
from sys19 lists the exported directories of sys21

There are no firewalls on both the machines and the SElinux is also disabled.

Now, sys19 is able to mount directories of sys21
sys19]# mount 192.168.0.21:/home/depts /mnt

The problem is with sys21
sys21]# mount 192.168.0.19:/home/ajaz /mnt
mount: RPC: Timed out

What could be the reason behind this ?
I have used various options of mount command like timo,hard,intr,rsize,wsize but no use, I am facing this issue from 3 days.

Please help me brothers.

Thanks and Regards
AJAZ

Walman 04-10-2007 11:09 AM

Ajaz

Please , check if in /etc/hosts of sys21 you have added an entry for sys19 . Both machines have to be able to see each other .

trickykid 04-10-2007 12:07 PM

Quote:

Originally Posted by Walman
Ajaz

Please , check if in /etc/hosts of sys21 you have added an entry for sys19 . Both machines have to be able to see each other .

You should notice he's using the IP address in the mount command.

As for the timeout, check your logs, the error points to portmapper not running. Make sure all other services are running, the machines can reach one another, etc. But the logs for NFS are usually very verbose and should tell you what's going on if these machines can see one another.

pbaldera 04-10-2007 02:14 PM

take a look at /etc/hosts.deny and /etc/hosts.allow. You might be blocking the service at the local server. You can try by commenting out the line on /etc/hosts.deny #ALL:ALL and see if it works.

ajaz_javeed 04-11-2007 05:32 AM

Thanks everybody, for your prompt replies.

Where to check for NFS logs. I have seen the logs for both the systems in "/var/log/messages", nothing unusual.

Meanwhile, my friend changed the network card while I was editing this post. I am able to mount the sys19 partition on sys21 successfully, am the happiest person now.

Thank you once again for all those who participated
Bye

AJAZ


All times are GMT -5. The time now is 04:46 PM.