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

NFS mount on openvms

SOLVED
Go to solution
asif munir
Advisor

NFS mount on openvms

Hi,

I have an Alpha server running OpenVMS version 7.1 which has Digital TCP/IP Services for OpenVMS Alpha Version V4.2 - ECO 3. I am running an oracle database on there which needs to be exported due to hardware limitations etc. the only way we can get the space is to have nfs mount of a unix box onto the VMS i.e. the VMS server is the NFS client. Is there anyone who has done this if so please can they provide the necessary steps for this procedure kkeping in mind the version of OS and associated products.

Thanks
Asif
8 REPLIES
Volker Halle
Honored Contributor

Re: NFS mount on openvms

Asif,

$ ucx mount dnfs:/host=hostname/path="/pathname"
%UCX$DNFSMOUNT-S-MOUNTED, /pathname mounted on _DNFSn:[000000]

To be able to write to that volume, you may need to set up an NFS PROXY on your OpenVMS system to map the OpenVMS username, which will write to that volume, to the correct GID/UID for the Unix host:

$ ucx add proxy vms-username -
/gid=x/UID=y/NFS=OUTGOING/HOST=hostname

Volker.
asif munir
Advisor

Re: NFS mount on openvms

Thanks Volker,

I am getting the following error message,

%UCX$DNFSMOUNT-E-MOUNTFAIL, error mounting DNFS:
-UCX-E-NOTCONF, NFS Client not configured on this node

I have not worked alot on VMS and don't know if there is an quivalent file to /etc/hosts to add the ip address to name resolution of the target server.

Asif
Jan van den Ende
Honored Contributor

Re: NFS mount on openvms

Asif,

This is available as a menu driven functionality.
From a suitably privd account (eg, SYSTEM) do a

$ @sys$manager:tcpip$config

Choose Ckient Components,

Choose NFS client ENABLE



Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
asif munir
Advisor

Re: NFS mount on openvms

Thanks Jan,

I have enabled the NFS client but am still getting the same error that i mentioned previously !

Asif
Volker Halle
Honored Contributor
Solution

Re: NFS mount on openvms

Asif,

what does UCX SHOW SERVICE tell you ?

Aside from ENABLING NFS client, you will also have to START it. UCX V4.2 does not offer starting a service from the UCX$CONFIG.COM menues.

You might need to restart UCX (or reboot the system), to activate the NFS CLIENT service.

Volker.

Volker Halle
Honored Contributor

Re: NFS mount on openvms

Asif,

to add the name of the NFS server, use

$ UCX SET HOST hostname/address=x.x.x.x

Use UCX SHOW HOST to see the local host database.

Volker.
asif munir
Advisor

Re: NFS mount on openvms

Thanks to everyone, it worked fine after a reboot, the nfs service started and was able to mount the filesystem.

Asif
Stanley F Quayle
Valued Contributor

Re: NFS mount on openvms

If you want the VMS file characteristics preserved, you need to add /ADF=CREATE on the ucx mount command. Highly recommended.
http://www.stanq.com/charon-vax.html