AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

other *nix machines cannot access NFS share on AIX

  • 1.  other *nix machines cannot access NFS share on AIX

    Posted Thu February 06, 2014 01:48 PM

    Originally posted by: jyanga


    Gurus,

    Other *nix machines get a good output from running the command "showmount -e aixnfsserver".  However, when I try to run the command "ls -lh /net/aixnfsserver", I get an error "No such file or directory".

    I logged into aixnfsserver and check the permissions and it is find.  I checked the nfs services and I get the output below.

    # lssrc -g nfs

    Subsystem         Group            PID          Status

     biod             nfs              3080200      active

     nfsd             nfs              4325556      active

     rpc.mountd       nfs              7798988      active

     rpc.lockd        nfs              4391108      active

     rpc.statd        nfs              9109664      active

     gssd             nfs                           inoperative

     nfsrgyd          nfs                           inoperative

    I attempted to start nfsrgyd but it will not keep running.  I ends after it is started.

    Help.



  • 2.  Re: other *nix machines cannot access NFS share on AIX

    Posted Fri February 07, 2014 04:21 AM

    Originally posted by: Wouter Liefting


    Can you post the contents of your /etc/exports file on the AIX machine?

    Furthermore, your ls -lh /net/aixnfsserver suggests you are using some sort of automounter process on the other unix machine. Can you also post the configuration of that automounter? And does a manual mount (mount aixnfsserver:/export/something /mnt) work properly?

    The lssrc -g nfs list looks normal to me. I don't think that's where the problem is.



  • 3.  Re: other *nix machines cannot access NFS share on AIX

    Posted Fri February 07, 2014 11:02 AM

    Originally posted by: jyanga


    Wouter,

     
    Here are the information you have requested.
     
    /etc/exports
    ------------
    # cat /etc/exports
    /aixshare1 -vers=3:4,sec=sys:krb5p:krb5i:krb5:dh,rw
     
    /etc/auto.master
    ----------------
    # cat /etc/auto.master
    #
    # Sample auto.master file
    # This is an automounter map and it has the following format
    # key [ -mount-options-separated-by-comma ] location
    # For details of the format look at autofs(5).
    #
    /misc   /etc/auto.misc
    #
    # NOTE: mounts done from a hosts map will be mounted with the
    #       "nosuid" and "nodev" options unless the "suid" and "dev"
    #       options are explicitly given.
    #
    /net    -hosts
    #
    # Include central master map if it can be found using
    # nsswitch sources.
    #
    # Note that if there are entries for /net or /misc (as
    # above) in the included master map any keys that are the
    # same will not be seen as the first read key seen takes
    # precedence.
    #
    +auto.master
     
    In my attempt to getting it fixed, I had updated the AIX server from 7100-00-04 to 7100-01-04-1216.  Some *nix machines have started to work.  Please see my table below.
     
    OS Automount ManualMount Error
    AIX 7100-01-04-1216 success success not applicable
    HP-UX B.11.23 success success not applicable
    OEL 6.4 fail fail mount.nfs: Remote I/O error
    Redhat 6.4 fail fail mount.nfs: Remote I/O error
    SLES 11.1 success success not applicable
    Solaris 9 success success not applicable
    Ubuntu 12.04.3 fail fail mount.nfs: Remote I/O error
     
    I need to get all these OSes to be able to access the AIX share.
     
    I also get the errors below when I bounce NFS.
     
    Feb  7 07:56:58 aixnfsserver daemon:err|error gssd[8454286]: /usr/lib/drivers/krb5.ext: No such file or directory
    Feb  7 07:56:59 aixnfsserver daemon:err|error gssd[7995512]: /usr/lib/drivers/krb5.ext: No such file or directory
    Feb  7 07:57:00 aixnfsserver daemon:err|error gssd[7995518]: /usr/lib/drivers/krb5.ext: No such file or directory
     
    The reason why I thought that I need nfsrgyd to be active is because the other AIX machines that is running NFS server is accessible by all these *nix servers and they all have nfsrgyd active.