[comp.sys.sgi] NFS, AIX - IRIX

root@sgzh.uu.ch (0000-Bruno Pape(0000)) (12/07/90)

Hello NFS and AIX types,

I have screwed up so much hardware lately that today I would like to tackle
some of those good old simple software problems.  But this isn't one of them.
Anyone have any ideas.

Thanks,

Bruno Pape

> 
> I am still having trouble trying to mount the IRIS /usr filesystem on
> one of our AIX machines. All other networking works fine, I can FTP in
> both directions, I can RLOGIN in both directions, I can mount filesystems
> from IRIS to PIRIS and from PIRIS to IRIS and I can even mount an AIX
> filesystem on IRIS and PIRIS.
> 
> The IRIS directory /usr is exported to the world:
> 
> export list for iris.zurich.ibm.com:
> /usr     (everyone)
> 
> I tried both mount and automount and it showed different behaviour but none
> worked. Trying mount with
> 
> mount iris.zurich.ibm.com:/u /irisusr
> 
> I got
> 
> mount: server iris.zurich.ibm.com not responding: RPC: Authentication error;
>  why = Invalid client credential
> nfsmnthelp: iris.zurich.ibm.com: The file access permissions do not allow
>  the specified action.
> mount: giving up on:
>       iris.zurich.ibm.com:/usr
> The file access permissions do not allow the specified action.
> 
> and trying automount with
> 
> /usr/etc/automount -T /irisusr tryauto.map > tryauto.iris
> 
> and a map file
> 
> usr     -rw     iris.zurich.ibm.com:/usr
> 
> I got the following track when I tried cd /irisusr and then cd usr
> 
> GETATTR call(fh=[30124, 659886394, 4])
> GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,
>  size=512, blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4,
>  atime=Thu Nov 29 14:46:34 1990, mtime=Thu Nov 29 14:46:34 1990,
>  ctime=Thu Nov 29 14:46:34 1990)
> STATFS call(fh=[30124, 659886394, 4])
> STATFS return(stat=NFS_OK, tsize=512, bsize=512, blocks=0, bfree=0, bavail=0)
> GETATTR call(fh=[30124, 659886394, 4])
> GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,
>  size=512, blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4,
>  atime=Thu Nov 29 14:46:34 1990, mtime=Thu Nov 29 14:46:34 1990,
>  ctime=Thu Nov 29 14:46:34 1990)
> LOOKUP call(fh=[30124, 659886394, 4], name=usr)
> LOOKUP return(stat=NFSERR_NOENT)
> 
> and I was denied entering the directory /irisusr/usr
> 
> When I tried the same automount for a filesystem on another AIX machine,
> I got:
> 
> GETATTR call(fh=[32133, 659886263, 4])
> GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,
>  size=512, blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4,
>  atime=Thu Nov 29 14:44:23 1990, mtime=Thu Nov 29 14:44:23 1990,
>  ctime=Thu Nov 29 14:44:23 1990)
> STATFS call(fh=[32133, 659886263, 4])
> STATFS return(stat=NFS_OK, tsize=512, bsize=512, blocks=0, bfree=0, bavail=0)
> GETATTR call(fh=[32133, 659886263, 4])
> GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,
>  size=512, blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4,
>  atime=Thu Nov 29 14:44:23 1990, mtime=Thu Nov 29 14:44:23 1990,
>  ctime=Thu Nov 29 14:44:23 1990)
> LOOKUP call(fh=[32133, 659886263, 4], name=usr)
> LOOKUP return(stat=NFS_OK, fh=[32133, 659886263, 5], type=5, mode=120777,
>  nlink=1, uid=0, gid=0, size=3, blocksize=512, rdev=0, blocks=1, fsid=0,
>  fileid=5, atime=Thu Nov 29 14:44:52 1990, mtime=Thu Nov 29 14:44:52 1990,
>  ctime=Thu Nov 29 14:44:52 1990)
> READLINK call(fh=[32133, 659886263, 5])
> READLINK return(stat=NFS_OK, data=/tmp_mnt/auto0eYYBpo)
> 
> and I could enter the directory.
> 
> The error messages with mount indicate that the IRIS fails in verifying
> that the client is allowed to mount. I found in an AIX manual that this
> might happen if the server is not able to resolve the clients hostname
> into the internet address from which the request came. For that reason
> I put the client's name into /etc/hosts on IRIS as schwyz as well as as
> schwyz.zurich.ibm.com and verified that I can ping both names. I even
> changed the name of the IRIS to the full name iris.zurich.ibm.com but
> that did not help.
> 
> Could the reason be that there is no named running on the IRIS and that it
> just has a local /etc/hosts rather than a NIS service or do you have any
> other idea what might go wrong ?
> 

---------------------------- end of simple problem --------------------------