Operating System - Linux
1829457 Members
1475 Online
109992 Solutions
New Discussion

Re: NFS Client problems with RedHat 8 or 9 and DL360 G2

 
Tony Rossomano_2
Occasional Contributor

NFS Client problems with RedHat 8 or 9 and DL360 G2

Hello, I'm trying to setup an NFS mount from a Compaq DL360 G2 server to an Compaq DL580 server. I am running Red Hat Advanced Server on the DL580. On the DL360 G2 I've tried both Redhat 8 and 9. For the NFS Server setup on the DL580, I added a line in /etc/exports to export the filesystem. When I run the command 'exportfs' it shows the ip address and the exported filesystem. I am certain that the server is setup right because I have many compaq evo workstations that have nfs mounts to the DL580 that are working fine. Now, the problem that I have is with the client (running Red Hat 8 or 9). I have added the hostname for the server (DL580) to /etc/hosts. I then created the local directory to use as the mount point. Lastly, I added a line to /etc/fstab to mount the filesystem at boot time. Now, here's the problem. I get a failure from netfs during boot-up. Here's the error:

Using Red Hat 8:

RPC: Port mapper failure - RPC: Unable to receive.

Using Red Hat 9:

RPC: Remote system error - No route to host.

Here's the strange part:

I can ping from the NFS Client to NFS Server

After the boot NFS mount failures, I can manually mount the filesystem with no problem.
i.e. mount -t nfs enwgs-asvr1:/backup /backup

Also after the boot NFS mount failures, I can
restart the netfs service and the NFS mount works fine. So, netfs fails w/ NFS mounts during the normal boot sequence, but works fine
when restarted after boot-up!

Could there be an issue with the firewall on the client? I am pretty certain that I have everything setup right on the client and server because I've done this before without problems.
(but not with a DL360 G2 as client). I really don't understand how the NFS client mount can fail during boot, but then work fine when mounted manually after bootup. Any ideas or suggestions would be greatly appreciated.

Thanks,

Tony Rossomano


4 REPLIES 4
Stuart Browne
Honored Contributor

Re: NFS Client problems with RedHat 8 or 9 and DL360 G2

Two things come to mind. Yes, firewall. What are you using on the DL360?

2nd is name resolution. Using RH8, the Named service doesn't seem to want to respond to requests for a while. Is the name 'nwgs-asvr1' in the hosts file on the client?

You said you were using an IP address in the server's /etc/exports file.

You've gone through the /var/log/messages on the client to make sure tehre aren't any other errors, right?
One long-haired git at your service...
Becke
Super Advisor

Re: NFS Client problems with RedHat 8 or 9 and DL360 G2

Hi Guys,

I have exported a filesystem successfully from NFS server to client, but what options I should be using with the mount command to mount it on the client node.

I've used the following command to mount it but it doesn't work, I have also created a temporary mount point, to mount over it.

mount -t nfs ILESYSTEM_NAME:MOUNTPOINT_NAME
now what is the correct syntax of the above command and do i need to specify the NFS server's node name as well, where the exported filesystem resides.

Please advise

Srikanth A_1
Occasional Advisor

Re: NFS Client problems with RedHat 8 or 9 and DL360 G2

check these commands
showmount -e
rpcinfo -p
also ref to https://bugzilla.redhat.com/beta/show_bug.cgi?id=107999
Becke
Super Advisor

Re: NFS Client problems with RedHat 8 or 9 and DL360 G2

Thanks guys, I have managed to get it working.

Cheers,