Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

mounting openVMS file system on unix

 
SOLVED
Go to solution
SAMI AHMAD
Regular Advisor

mounting openVMS file system on unix

can someone give me some hints on whats the beset way to achieve this ?
Thanks
14 REPLIES 14
Steven Schweda
Honored Contributor

Re: mounting openVMS file system on unix

NFS.

Some description of the IP software on your
VMS system might be helpful. Perhaps:

TCPIP SHOW VERSION
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 7
on a hp AlphaServer GS1280 7/1150 running OpenVMS V7.3-2
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

Thanks Steven
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

these are very general documents , is there any short guide or example someone has showing steps to setup a NFS server on VMS and how to mount the shared directories on unix ?

thanks
Steven Schweda
Honored Contributor

Re: mounting openVMS file system on unix

> these are very general documents

It's a very general problem.

> is there any short guide or example [...]

Perhaps, but many details depend on exactly
what you wish to do. For example, you can
export a VMS file system, or you can export a
container file system. I don't know what you
want.

> mounting openVMS file system on unix

This is not a very detailed description of
the problem which you are trying to solve, so
it's hard to guess what the best solution
might be.

Sometimes you really do need to learn some of
that complicated material if you wish to
solve your problem. It's that, or else try
to write up a complete specification of what
you wish to do, and hope that someone else
will do your job for you.

Personally, I'd try some of the examples in
the documents and/or the TCPIP HELP, and see
what happens.

A Forum search or a general Web search or a
search of comp.os.vms might also find some
NFS-related material.

Also, "unix" is not a very detailed
description of the non-VMS system. Actual
output from, say,
uname -a
would be more useful.
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

ok here is what i did :

on VMS :


TCPIP> ADD PROXY ORACLE /UID=300 /GID=300 /HOST=*
TCPIP> MAP "/vms" $1$DGA1097:
TCPIP> ADD EXPORT "/vms/oracle" /host=dotstodb203

create/dir $1$DGA1097:[ORACLE]

on UNIX:

Pt$ id
uid=300(oracle) gid=300(dba)
Pt$
Pt$ mount -F nfs -o ro pasy:/vms/oracle
mount: Mount point cannot be determined
Pt$


what am I missing here?

thanks
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

Also if i start the nfs server I am getting error that no mapping is found , and indeed if i look the mapping is gone , as soon as I log out TCPIP the mapping is removed so how can i make the mapping permanent?

PASY$ @sys$startup:TCPIP$NFS_STARTUP.COM
%TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$MOUNTD.EXE installed
%TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$NFS_SERVER.EXE installed
%TCPIP-I-INFO, logical names created
%TCPIP-I-INFO, subsystem nfs loaded
%TCPIP-I-INFO, subsystem vfs loaded
%TCPIP-I-NOMAP, no filesystem mapping information available
%TCPIP-E-STARTERROR, error starting NFS service
-TCPIP-W-NORECORD, information not found
-RMS-E-RNF, record not found
%TCPIP-E-STARTFAIL, failed to start TCPIP$NFS
-TCPIP-E-ENABLERR, error enabling nfs service
PASY$
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

ok I figured that one out :
set configuration map "/vms" $1$DGA1097: fixed it.
but now I cant startup NFS , getting the following errror :

$ tcpip enable service nfs
%TCPIP-E-STARTERROR, error starting NFS service
-TCPIP-W-NORECORD, information not found
-RMS-E-RNF, record not found
Joseph Huber_1
Honored Contributor

Re: mounting openVMS file system on unix

Seems You have not configured NFS server.
@sys$manager:tcpip$config

Then use servers->nfs menu.

http://www.mpp.mpg.de/~huber
Hoff
Honored Contributor

Re: mounting openVMS file system on unix

My simple rule of thumb is to always treat the TCPIP utility's START SERVICE mechanism as radioactive. Given the choice, use TCPIP$CONFIG to configure, start and stop the services.

In one case I'm aware of, the use of the STOP and then START commands can effectively leave your system requiring a reboot to clear the configuration confusion that results.

Put another way, try using the menu to shut down, configure and start the NFS server here.
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

ok after configuring TCPIP things improved, now i can mount the nfs share on unix but then if i give any command it hangs ,any ideas how i can debug ?

thanks
=========== on openVMS ==================
PASY$ tcpip
TCPIP> show map
Dynamic Filesystem Map
Pathname Logical File System

/vms $1$DGA1097:
TCPIP> show export

File System Host name

/vms/oracle DOTSTODB203
TCPIP> show proxy *

VMS User_name Type User_ID Group_ID Host_name

ORACLE OND 0 0 *
TCPIP>


=-================ on solaris =============
# mount 156.75.145.123:/vms/oracle /home1/oracle/vms
# df -k

156.75.145.123:/vms/oracle
10485760 6113315 4372445 59% /home1/oracle/vms
# cd /home1/oracle/vms
# pwd
/home1/oracle/vms
# ls
^C
#
SAMI AHMAD
Regular Advisor

Re: mounting openVMS file system on unix

oh this is strange .. i just tried to create and edit a file and it works, and i can see the newly created file on openVMS so why I cant do a 'ls' command ?
Gourault
Occasional Visitor

Re: mounting openVMS file system on unix

Hi Sami

I'd like to knbow if your problem solved ?
I'm digging now in the internet forums ...
We get now the same kind of symptoms, trying to export a NFS VMS volume to a Solaris 10 system, to save it. After a while, during the save, the volume is in NFS time-out. I tried to unmap this volume on the VMS server, but the command freezes. We can't stop anymore the nfs process as well.

Meanwhile, we can't "ls" anymore the mounted NFS volume content on the Solaris server.

If you could solve your problem, can you tell me what was done, please ?

Thank's

Philippe