This is my /etc/exports in AIX NFS server(

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

Of course, I run exportfs -av after renewing

I tried this command on a Ubuntu NFS client(

sudo mount -t nfs -o vers=3 ./import

However it returns

mount.nfs: access denied by server while mounting

How can I solve it ?

  • 2
    Does your Ubuntu server have a different interface that it's using to get to the AIX NFS server? – Jeff Schaller Aug 2 '16 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 Khan Aug 2 '16 at 8:39
  • @Ijaz Khan What permission should I check ?, I think the permission is allowed by /etc/exports file. – asleea Aug 3 '16 at 2:40
  • 1
    @asleea: Check the server's error log! – Julie Pelletier Aug 3 '16 at 4:08
  • @Julie Pelletier Where can I check the log in AIX? – asleea Aug 3 '16 at 10:19

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

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

You should be able to verify the export is correct with

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

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

[root@usmd1lnx095 init.d]# host
Host 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.