1754402 Members
3289 Online
108813 Solutions
New Discussion юеВ

NFS mount issue

 
Dawn Urey
Occasional Advisor

NFS mount issue

I have 2 nodes in a cluster. I am able to nfs mount a remote file system from one node but if I attempt to mount the file system on the other node, I get a permission denied error. I have the hosts and the cluster alias defined in the /etc/hosts file on both nodes. I also check the nfs client configuration which is also the same on both nodes. Is there anything else that I need to check so that I can nfs mount a remote file system on either node?
9 REPLIES 9
Johan Brusche
Honored Contributor

Re: NFS mount issue


What do you have in /etc/exports for that filesystem on the remote node ?
Any access restrictions over there ?

Johan.

_JB_
Dawn Urey
Occasional Advisor

Re: NFS mount issue

the /etc/exports file looks like:

/s00 -access=nodename
Michael Schulte zur Sur
Honored Contributor

Re: NFS mount issue

Hi,

which os version are you running?
Have a look here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=508430

this has been a similar problem, I guess

greetings,

Michael
Johan Brusche
Honored Contributor

Re: NFS mount issue

Dawn,

Only 1 nodename in the access-list ?
If so, you must put the other cluster member also in the list....

Johan.

_JB_
Mobeen_1
Esteemed Contributor

Re: NFS mount issue

Dawn,
I suggest that you add all your cluster member nodes in the file

rgds
Mobeen
Dawn Urey
Occasional Advisor

Re: NFS mount issue

I have added both nodes to the /etc/exports file. I am still unable to mount the file system from node1. Is there anything else that I should check?
Johan Brusche
Honored Contributor

Re: NFS mount issue

D,

On the node that cannot mount, try the command: showmount -e

It should look like:

Exports list on :

/tmp-HPUX member1.mydomaine.net, member2.mydomaine.net
/var/adm/ris/ris0.alpha/product_2 Everyone
/var/adm/ris/ris1.alpha/product_2 Everyone
/dumps_2 Everyone

JB.

_JB_
Ralf Puchner
Honored Contributor

Re: NFS mount issue

As asked by Michael:

- What version of Tru64
- Cluster is NFS Server or Client?
- If Cluster: is NFS Server on Default Cluster Alias?
- If not Cluster: What does rpcinfo -p on the members return?
- If rpcinfo works, what does showmount -e looks like?
- What does nslookup/ping to ip-adress/name delivers on both members?
..
..
..

Have also a look into the nfs troubleshooting section within the network guide!
Help() { FirstReadManual(urgently); Go_to_it;; }
Cortes Albertino
Trusted Contributor

Re: NFS mount issue

Hello,

Please check the mountd args on the NFS server, by "#ps -ef | grep mountd".

You must check the mountd args.

Seen on Tru64 mountd man pages:

If -i :
-i
Verifies the Internet address of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts file is used.


If -i is used, restart mountd without it.

Hope it helps,

Albertino.

Albertino Cortes
unix support engineer
Hewlett-Packard France