Operating System - OpenVMS
1753300 Members
7054 Online
108792 Solutions
New Discussion юеВ

nfs on vms 6.2-1h3 UCX 4.1 eco 9

 
Amit Levin
Occasional Advisor

nfs on vms 6.2-1h3 UCX 4.1 eco 9

I'm tring to setup NFS server on OpenVMS 7.1 running UCX 4.1 eco 9.
my client is OpenVMS 6.2-1h3 running UCX 4.1 eco 9.


my problem is: I cant mount the exported file system.
I'm NOT using a container file.
exprot records are inserted using
UCX> ADD EXPORT .....
command.
computers is the name and coding is the game, dont play the game, just say the name
6 REPLIES 6
Alex  Daniels
Frequent Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

Hi,

Ok there are a few steps to setting up an NFS share.

First of all you need to map the device, in both the dynamic and permentant databases.

UCX> map "/dsa2" DSA2:

UCX> set config map "/DSA2" DSA2:

Next you need to set up the export..

UCX> add export "/dsa2/xfer" /host=nodename

Then you need to set up the NFS proxies to allow access. So if you remote user accessing the share will is uic [701,701]. Then do the following. The local user you map to does not have to be the same...

ucx> add prox system/uid=701/gid=701/host=nodename

Then try the mount on your remote box, do a reply/enable on the local machine and you will be able to see the mount, or failure of it.

Also check the logs in sys$sysdevice:[ucx$nfs]

Make sure you have NFS and PORTMAPPER enabled.

Also if you are aceessing the files on the share remotely for update, opening and writing to them. (more than just putting them on the share or editing with TPU). Then look to run LOCKD and STATD as well, although I dont think they were in UCX 4.1.

I would suggest an upgrade to at least 5.1 patched, as there have been a lot of NFS issues in earlier versions.

If you still have problems post the output from 'sh map, sh export, sh prox' on your local machine and the mount command/error on your remote machine.

Regards

Alex
Amit Levin
Occasional Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

Hi Alex,
when I try to mount to file system on the client machine I get the following:
UCX> mount dnfs0:[000000] /host="cellhr" /path="/dkf100"
%UCX$DNFSMOUNT-E-MOUNTFAIL, error mounting DNFS0:[000000]
-SYSTEM-W-NOSUCHDEV, no such device available

the problem is probobly in the client side because I can't mount a file system origined on a unix platform also.
computers is the name and coding is the game, dont play the game, just say the name
Amit Levin
Occasional Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

ok, ok...
I had to connect the dnfs driver in order to create DNFSn device.
but now when I try to mount this device the mounting process goes into RWAST mode.
computers is the name and coding is the game, dont play the game, just say the name
Alex  Daniels
Frequent Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

Hi,

Ok I think you have a few things going on here...

$ sh dev dnfs0/fu

Disk DNFS0:, device type Foreign disk type 7, is online, file-oriented device,
shareable, mailbox device, device is a template only.
...

Note DNSF0: is a template, much like TNA0: for example. So mount onto a different device, I use DNFS1:

Also the default timeouts on the mount are pretty long, so change them with /timeout and /retrys..

Remember also to include the volume label, that you want for your DNFS device, obviously must be the same on any subsequent mounts..

Do check the logs, and have reply/ena on, on your server, at least then you can see if it is now permissing and/or wrong mount point.

Using the data your gave, I would expect your mount command should look something like this...

Also try a small data size to start with, it should negotiate anyway, but being an old version of UCX try it and work up..

UCX> mount DNFS1:[000000.dkf100] - NFSDISK /host=cellhr -
/path="/dkf100" -
/cache_timeout /timeout=00:00:03 -
/data=(1024,1024) /retries=4

Good luck, if it doesnt work, post the UCX> sh map , sh expo , sh prox. Also anything in the log..

Regards

Alex
Amit Levin
Occasional Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

check it out:
01::users:[amit] sh dev dnfs7/fu

Disk DNFS7: (CELL01), device type Foreign disk type 7, is online, file-oriented
device, shareable.

Error count 0 Operations completed 0
Owner process "" Owner UIC [AMIT]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:RWPL,W:RWPL
Reference count 1 Default buffer size 512
Total blocks 8388608 Sectors per track 0
Total cylinders 0 Tracks per cylinder 0
Allocation class 1

Volume label "DEVI" Relative volume number 0
Cluster size 16 Transaction count 1
Free blocks 0 Maximum files allowed 1000000
Extend quantity 16 Mount count 0
Mount status Process ACP process name "AMIT"
Extent cache size 0 Maximum blocks in extent cache 0
File ID cache size 0 Blocks currently in extent cache 0
Quota cache size 0 Maximum buffers in FCP cache 0
%SYSTEM-E-NOSUCHVOL, no such volume

Volume Status: do not unload on dismount, file high-water marking, write-back
caching enabled.
computers is the name and coding is the game, dont play the game, just say the name
Alex  Daniels
Frequent Advisor

Re: nfs on vms 6.2-1h3 UCX 4.1 eco 9

Can you enter the mount command in my last reply and post the output from that.

Also the output from UCX> sh expo UCX> sh map UCX> sh prox