Mounting AIX 6.1 share on Redhat 6.5 Client

Latest response

I am able to mount the AIX NFS share but I am not able to wite in mounted directory.
Exported directory amd mount mount are both 777. After I mount filesystem the permission are: dr-xr-xr-x and owned by root nobody.

SEE BELOW:

[root@vm-cwwfmspb1 /]# ls -ld /mnt
drwxrwxrwx. 2 root root 4096 Aug 8 10:47 /mnt
[root@vm-cwwfmspb1 /]# mount -v -t nfs4 -o rw cwwfmsnfs04:/pbdx /mnt
mount.nfs4: timeout set for Tue Oct 28 07:58:37 2014
mount.nfs4: trying text-based options 'addr=10.32.195.98,clientaddr=10.32.201.229'
cwwfmsnfs04:/pbdx on /mnt type nfs4 (rw)
[root@vm-cwwfmspb1 /]# ls -ld /mnt
dr-xr-xr-x. 1 root nobody 2 Oct 27 13:42 /mnt
[root@vm-cwwfmspb1 /]# cd /mnt
[root@vm-cwwfmspb1 mnt]# touch foobar
touch: cannot touch `foobar': Permission denied

Responses

What is the permission of the nfs share from the AIX server? Is it shared as rw, is root allowed to wright to it ?

yes, another AIX server(7.1) shares. nounts are write just fine on the Redhat server. The AIX 6.1 (Power HA Cluster) is having an issue.

Can you post the share from the AIX server?

/pbdx -vers=2:3:4,root=vm-cwwfmspb1:vm-cwwfmspb2,hasrv=cwwfmsnfs04,access=vm-cwwfmspb1:
vm-cwwfmspb2

dr-xr-xr-x. 1 root nobody 2 Oct 27 13:42 /mnt

Looks like /pbdx does not have write permission set. Change the permission on this /pbdx on the AIX server to have write .

chmow u+w /pbdx

Exported directory amd mount mount are both 777

root@cwwfmsnfs04:/ # ls -ld pbdx
drwxrwxrwx 3 pbprd pbprd 256 Oct 27 16:01 pbdx

[root@vm-cwwfmspb1 /]# ls -ld /mnt
drwxrwxrwx. 3 root root 4096 Oct 28 08:21 /mnt

[root@vm-cwwfmspb1 /]# ls -ld /mnt
drwxrwxrwx. 3 root root 4096 Oct 28 08:21 /mnt

Let me see the share from the other AIX server as well as the permissions on the shared directory.

They are the same

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.