how to mount a nfs mount from linux client to AIX nfs server
Hi Everyone,
I've export a directory from the AIX NFS server. It don't have any problem being NFS mounted by other AIX system. While I tried to use one linux doing the same NFS mount, it returned the " permittion denied" error. Is there anything special I should do on this linux client before I do the "NFS mount" ? Appreciate for any suggestion Regards Denny |
Can someone help me ?
Can someone help me ? Is there any NFS log I can check ?
|
nfso -p -o nfs_use_reserved_ports=1
Rgds Mark Taylor |
by the way, look at your network installation.
"Permission denied" usually means "I don't know this guy". 1) go to the AIX system, and type "ping -c 3 my_linux_client". 2) On the AIX server system, "cat /etc/exports" in order to verify that your fileystem is correctly exported. 3) usually, on Linux systems, "mount aix_server:/shared_filesystem /mnt" works without problem. |
Is the nfso command mentioned above not only applicable to an AIX NFS client?
I have the same problems, by the way. The exports on the AIX server are listed without any options, only -root=myclient where myclient is an antry in the hosts file with the proper IP address. I use RedHat ES3, trying to connect to an NFS server on an AIX 4.3 cluster. This is the dump of nfso -a: portcheck= 0 udpchecksum= 1 nfs_socketsize= 60000 nfs_tcp_socketsize= 60000 nfs_setattr_error= 0 nfs_gather_threshold= 4096 nfs_repeat_messages= 0 nfs_udp_duplicate_cache_size= 5000 nfs_tcp_duplicate_cache_size= 0 nfs_server_base_priority= 0 nfs_dynamic_retrans= 1 nfs_iopace_pages= 0 nfs_max_connections= 0 nfs_max_threads= 8 nfs_use_reserved_ports= 0 nfs_device_specific_bufs= 1 nfs_server_clread= 1 nfs_rfc1323= 0 nfs_max_write_size= 0 nfs_max_read_size= 0 nfs_allow_all_signals= 0 nfs_v2_pdts= 1 nfs_v3_pdts= 1 nfs_v2_vm_bufs= 1000 nfs_v3_vm_bufs= 1000 I tried mostly with the client defaults, and also with option "udp" The problem is that I cannot use "trial and error" since it seems that in some occasions the portmapper dies on the AIX server. |
I have the same problem here and I found out why I get this error:
on my server my uid is 500 and on my client 501 so they dont match which cause the access denied. |
well, I'm a bit confused what your exact issue is, but here is how I mount on my Redhat server an AIX mount:
10.28.1.61:/u37/somedir /mnt/somedir nfs rsize=8192,wsize=8192,intr,posix 0 0 and on AIX, that export looks like: /u33/cold_backups -root=hqs6000a:portal2,access=hqs6000a:portal2 portal2 being the Redhat box. Key is making SURE hostname is in /etc/hosts on the AIX box and that your UID/GID matches up between the two boxes. I hope this makes sense. |
Hi,
I configured on NFS at Linux site (client of AIX) as follow: Directory: /mnt/testdatalinuxclient Host: <ip of aix server> Permision is Read/Write and chmod -R 777 /mnt/testdatalinuxclient At aix server, I use command: mount -o proto=udp <ip of Linux client>:/mnt/testdatalinuxclient /mnt/testdataaixserver Mount failed. Error message: mount: 1831-008 giving up on: <ip of linuxclient>:/mnt/testdatalinuxclient vmount: Operation not permitted. Please help me fix this. Thanks so much. |
It works well. Thanks Mark Taylor.
|
how to mount a nfs mount from linux client to AIX nfs server
Hi Support Team,
on AIX we use NFS Share. But which mount from linux client to AIX Server but see error: "nfs.mount: remote I/O error". we try use "mount -o -vers=3" and mount success. But I need use mount vers=4. because linux client use default version 4 get file. how to resolve it ? Many thanks support. |
The key here is the NFS domain.
From memory linux has a "default" nfs4domain - that comes from the FQDN. host.dom1.dom2 - so the NFS4 domain is: "dom1.dom2". On AIX (server) you will need to run the commands: # chnfsdom "dom1.dom2" # nfs.clean # to stop all NFS activity, do not use stopsrc -g nfs # rc.nfs # even more important, do not use startsrc -g nfs !!! Use either chnfsexp or mknfsexp to add NFS4 "knowledge". I have a primer (that needs updating to work with Linux) at: http://www.rootvg.net/content/view/476/88/ Michael |
Hi Michael,
we go the follow as you posted. But we do not setup nfs domain on NFS Client (Redhat). How to setup NFS domain on Redhat. also we sent for you command output on nfs client: # chnfsdom nfsdomain bash: chnfsdom: command not found Could you please resolve it help me. Many thanks support. |
chnfsdom is the AIX command to set the nfsv4 domain name.
I do not have a redhat to verify (atm), but think of redhat booting ASIF it was configured to run Quote:
Quote:
Note: I am working on LoP (Linux on Power), so I shall be looking into this! If this does not work, on your linux client just add nfsvers=3 to your linux mount options. |
Hi Michael,
Case is to resolve. Many thanks support. |
All times are GMT -5. The time now is 08:25 PM. |