Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS issue

Status
Not open for further replies.

cpu533

IS-IT--Management
Nov 6, 2003
68
CA
Hi All,
I have 2 AIX server, say node1 node2.
Node1 runs aix4.3, node2 runs aix5.3.
I want to export f.s on node1 to node2. I run the mount command on node2. However i got below error.
mount: 1831-011 access denied for node1:/insighttmp
mount: 1831-008 giving up on:
node1:/insighttmp
The file access permissions do not allow the specified action.

I have this setup in exports file on node1. "/insighttmp -root=node2.lii.com,rw,anon=-1,access=node2.lii.com". NSLOOKUP has no issue. I can use showmount on node2 to verify the f.s been exported from node1. What will be the potential problem?

Please help.

Thanks,

 
Are you sure you are mounting /insighttmp using root on node2?

Could you please show us the command you used for mounting?

Regards,
Khalid
 
Good morning,

I'd use "smitty nfs" fastpath for the export ...
So you can be sure not to be missing any required parameters.

You might try not to enter the hostname as the access value in your file but the IP address of the machine ...

Regards
Thomas
 
What give showmount -e node1 on node2 ?

Try to declare node2 in node1's /etc/hosts
 
Multi-homed NFS client hosts frequently give that kind of problem...


HTH,

p5wizard
 
Thanks all for the reply. However

I have try using smitty nfs, using ip address instead of hostname, same error.

Hi p5wizard,how to solve this kind of problem.

Please advice.

Thanks,
 
You have to export the directory on the NFS server to all possible IP addresses or their corresponding names of the NFS client.


HTH,

p5wizard
 
Hi p5wizard,

Thanks for the quick response. I have try that, but still get the same error.
exports file on node1:
/insighttmp -rw,access=node2:node2_app

Command used on node2 to mount F.S:
mount node1:/insighttmp /local

Any more idea?

Thanks,

 
Try fully qualified names (including domain) in the exports file


HTH,

p5wizard
 
p5wizard,

Thanks for the help. I think the probelm is caused by networking. I force the name resolution to use local host table and it works.

Thanks all for the help.

 
You can get it to work with DNS also, just on the NFS server, nslookup the IP addresses of the NFS client and see what fully qualified names they resolve to, then exportfs the dir to those names, and you should be fine.

Code:
nslookup <ip-address-nfs-client> <ip-address-dns-server>

or

Code:
host <ip-address-nfs-client>


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top