2

This is my /etc/exports in AIX NFS server(10.2.150.211).

/app_src/g2s/workspace -vers=3,access=[10.2.10.204],rw=[10.2.10.204],root=[10.2.10.204]

Of course, I run exportfs -av after renewing

I tried this command on a Ubuntu NFS client(10.2.10.204).

sudo mount -t nfs -o vers=3 10.2.150.211:/app_src/g2s/workspace ./import

However it returns

mount.nfs: access denied by server while mounting 10.2.150.211:/app_src/g2s/workspace

How can I solve it ?

8
  • 2
    Does your Ubuntu server have a different interface that it's using to get to the AIX NFS server?
    – Jeff Schaller
    Aug 2, 2016 at 3:19
  • it seems permission problem , check the owner and group of share and permission on that , also check by disabling firewall and SE-Linux on the server
    – Ijaz Ahmad
    Aug 2, 2016 at 8:39
  • @Ijaz Khan What permission should I check ?, I think the permission is allowed by /etc/exports file.
    – asleea
    Aug 3, 2016 at 2:40
  • 1
    @asleea: Check the server's error log! Aug 3, 2016 at 4:08
  • @Julie Pelletier Where can I check the log in AIX?
    – asleea
    Aug 3, 2016 at 10:19

3 Answers 3

1

You need reverse lookup in DNS to allow NFS to mount. I have the same issue:

[root@usmd1lnx095 init.d]# host 10.1.11.173
Host 173.11.1.10.in-addr.arpa. not found: 3(NXDOMAIN)
[root@usmd1lnx095 init.d]#

I'm trying to get my DNS fixed. I have an AIX server that mounts a filesystem to MANY servers. I just built this one and it can't mount. It's DNS, fer sher.

0

Typically you don't include IP addresses inside [..] and just list them as normal:

/app_src/g2s/workspace -vers=3,access=10.2.10.204,rw=10.2.10.204,root=10.2.10.204

You should be able to verify the export is correct with

showmount -e
1
  • showmount -e returns export list for psrsmsapp01: /app_src/g2s/workspace 10.2.10.204 but it still deny access.
    – asleea
    Aug 2, 2016 at 2:15
-1

We had the same problems, I fixed this problem after add ip and hostname in /etc/hosts from NFS AIX Server.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .