Sharing VAX file system with Sun

2007-12-25 8:24:00

The question was:

> Anyone out there who has ever managed to mount a remote nfs file system

> from a VAX cluster? In a first attempt at it we got the following output

> at the SUN side):

>

> ------------------------------------------------------------------------------

> sun1 #mount -F nfs kunlt1:/vms_sundir /vms

> NFS getattr failed for server kunlt1: RPC: Authentication error

> nfs mount: mount: /opt/vms: I/O error

> ------------------------------------------------------------------------------

> sun1 #nfsstat

>

> Server nfs:

> calls badcalls

> 0 0

> null getattr setattr root lookup readlink read

> 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%

> wrcache write create remove rename link symlink

> 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%

> mkdir rmdir readdir statfs

> 0 0% 0 0% 0 0% 0 0%

>

> Client rpc:

> calls badcalls retrans badxid timeout wait newcred timers

> 15 9 36 0 0 0 0 4

>

> Client nfs:

> calls badcalls nclget nclcreate

> 15 9 15 0

> null getattr setattr root lookup readlink read

> 0 0% 12 80% 0 0% 0 0% 1 7% 1 7% 0 0%

> wrcache write create remove rename link symlink

> 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%

> mkdir rmdir readdir statfs

> 0 0% 0 0% 0 0% 1 7%

> =============================================================================

>

>

> VAX side error messages:

>

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:25.72 %%%%%%%%%%%%

> %UCX-S-NFS_HSTNAM, NFS server is running on host KUNLT1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:37.36 %%%%%%%%%%%%

> %UCX-E-NFS_PROGVS, invalid RPC program version number

> -UCX-S-NFS_RPCHDR, xid = FFC15E2C program = 100005 version = 2 procedure = 0

> -UCX-S-NFS_CLIENT, uid=0 gid=0 host_name =

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:37.93 %%%%%%%%%%%%

> %UCX-S-NFS_SUBNAM, Substitute hostname sun1.lett.kun.nl for hostname

> -UCX-S-NFS_CLIENT, uid=0 gid=1 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.08 %%%%%%%%%%%%

> %UCX-S-NFS_MNTSUC, mounted filesystem /vms_sun1

> -UCX-S-NFS_CLIENT, uid=0 gid=1 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.56 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.89 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:40.23 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:40.55 %%%%%%%%%%%%

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:25.72 %%%%%%%%%%%%

> %UCX-S-NFS_HSTNAM, NFS server is running on host KUNLT1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:37.36 %%%%%%%%%%%%

> %UCX-E-NFS_PROGVS, invalid RPC program version number

> -UCX-S-NFS_RPCHDR, xid = FFC15E2C program = 100005 version = 2 procedure = 0

> -UCX-S-NFS_CLIENT, uid=0 gid=0 host_name =

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:37.93 %%%%%%%%%%%%

> %UCX-S-NFS_SUBNAM, Substitute hostname sun1.lett.kun.nl for hostname

> -UCX-S-NFS_CLIENT, uid=0 gid=1 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.08 %%%%%%%%%%%%

> %UCX-S-NFS_MNTSUC, mounted filesystem /vms_sun1

> -UCX-S-NFS_CLIENT, uid=0 gid=1 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.56 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:39.89 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:40.23 %%%%%%%%%%%%

> %UCX-W-NFS_NOSMAP, failed to find record for default account to map a superuser

> -UCX-S-NFS_CLIENT, uid=-2 gid=-2 host_name = sun1

> %%%%%%%%%%%% NFS$SERVER 27-JUL-1993 15:48:40.55 %%%%%%%%%%%%

> -----------------------------------------------------------------------------

>

> The error message at the VAX side suggest to me that an RPC version clash

> occured. Any alternative suggestions or workarounds?

We had the problem solved before any answers arrived, thanks anyway to

rlyle@nl.oracle.com, paulo@dcc.unicamp.br, and a third person whose

message I happened to delete.

The prize for the best answer goes to rlyle (s.a.):

> Sorry to be such a bore, but it looks to me like your proxy UID's could use

> some work. We use TCPware, it's better and faster (IMHO). I've used UCX

> before though, with an IBM RS/6000 which seems to imply that it should

> definately work on a Sun (I *HATE* AIX).

>

> Check your PROXY UID's and *ESPECIALLY* the UID 0 setup. I can't remember what

> I had to do there, and I haven't got the UCX manuals anymore.

>

> Check the hosts file too. Do an rpcinfo -p kunlt1 to check your RPC program

> versions with what the Sun is expecting/using.

It WAS the UID 0 but I can't comment on UCX vs. TCPware, UCX did the job

in the end.

---------------

The VAX administrator writes:

+ It turned out that the NFS-server on the VAX expected UID -2 and GID -2,

+ though a proxy with thet right xID's was present. When the default

+ UID and GID were changed to the values of "root" on the sun, it was

+ possible to mount the VAX's NFS-file-system on the sun. I suppose this

+ kind of problems is due to my lack of experience with unix and network-

+ software.

+

+ Hans Adamse, system-manager LAVC K.U. Nijmegen, fac. Letteren C.O.G.

+ Erasmusplein 1, 6525 HT Nijmegen, the Netherlands, +31-80-616106

+ ADAMSE@LETT.KUN.NL, fax +31-80-615939

----------------

I just got another message from PHIL_LORGAN@NYMCS.CV.COM which I just include

(don't really want to get into VAX details too much now that it works):

> VMS GID UID are octal numbers and UNIX uses decimal numbers.pick out an account

> on the vms side get that users UIC [some,number].convert these two octal

> numbers to decimal.first is gid second is uid.Create a unix login account

> in passwd with the same UID and GID also create a group for the new GID

> and update your /etc/group file.the UIC entries are in UAF.

> then log into unix account you created and mount -f NFS,soft sys.name:/zfb1/

> to /somedir/somedir.If you've done this already and correctly ,then i would

> follow-up with the RPC version declaration with the vendor who provided the

> NFS implementation on the VMS your using.

Hope that helps people who have the same problem,

Ingo Jentsch

(ingo@lett.kun.nl)

Comments

Got something to say?

You must be logged in to post a comment.