Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX server FNS mount VMS directory - Permission Denied

Yves HUDON
Advisor

HP-UX server FNS mount VMS directory - Permission Denied

Hi,
I am not able to mount a VMS directory on HP-UX 11i v3, 11.31!...
Can somebody help me ?

On VMS I have those setting :
TCPIP> show proxy
VMS User_name Type UID GID Host_name
GDT_PROD OND 0 3 ssq23

TCPIP> show map
Dynamic Filesystem Map
Pathname Logical File System
/vms_disk_pon1 DSA17:

TCPIP> show export
File System Host name
/vms_disk_pon1/pon_vip SSQ28, ssq23

SSQ7,EXP9471>dir/sec dsa17:[000000]pon_vip
Directory DSA17:[000000]
PON_VIP.DIR;1 [GDT,GDT_PROD] (RWED,RWED,RWED,RE)


On HP-UX v3 11.31 :

ssq23:/ssq/uni/com# ll -d /pon_vip
drwxrwxrwx 2 root sys 96 Aug 23 11:20 /pon_vip

ssq23:/ssq/uni/com# mount ssq7:/vms_disk_pon1/pon_vip /pon_vip
nfs mount: ssq7:/vms_disk_pon1/pon_vip: Permission denied

OPCOM Message on VMS :
SSQ7,EXP9471>
%%%%%%%%%%% OPCOM 21-SEP-2010 16:35:38.14 %%%%%%%%%%%
Message from user TCPIP$NFS on SSQ7
%TCPIP-E-NFS_BFSCAL, operation MOUNT_POINT failed on file /vms_disk_pon1/pon_vip

5 REPLIES
Dave Olker
HPE Pro

Re: HP-UX server FNS mount VMS directory - Permission Denied

On the 11.31 system type the following:

# showmount -e ssq7
# rpcinfo -p ssq7

Post the results of both commands.

Dave
Yves HUDON
Advisor

Re: HP-UX server FNS mount VMS directory - Permission Denied

Note that VMS is the NFS Server an HP-UX is the NFS client!

ssq23:/# showmount -e ssq7
no exported file systems for ssq7

ssq23:/# rpcinfo -p ssq7
program vers proto port service
100000 2 tcp 111 rpcbind
100000 2 udp 111 rpcbind
100003 2 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 tcp 2049 nfs
100003 3 udp 2049 nfs
100005 1 udp 10 mountd
100005 3 udp 10 mountd
100005 1 tcp 10 mountd
100005 3 tcp 10 mountd

ssq23:/# ping ssq7
PING SSQ7-Lab.ssq.lab: 64 byte packets
64 bytes from 10.99.7.1: icmp_seq=0. time=0. ms
64 bytes from 10.99.7.1: icmp_seq=1. time=0. ms

----SSQ7-Lab.ssq.lab PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
ssq23:/#

Thanks you!
Dave Olker
HPE Pro

Re: HP-UX server FNS mount VMS directory - Permission Denied

> ssq23:/# showmount -e ssq7
> no exported file systems for ssq7


The VMS system is not sharing/exporting any filesystems. This is why you're getting permission denied. You need to configure the VMS host to export the filesystem you're trying to mount.


> ssq23:/# rpcinfo -p ssq7
> program vers proto port service
> 100000 2 tcp 111 rpcbind
> 100000 2 udp 111 rpcbind
> 100003 2 tcp 2049 nfs
> 100003 2 udp 2049 nfs
> 100003 3 tcp 2049 nfs
> 100003 3 udp 2049 nfs
> 100005 1 udp 10 mountd
> 100005 3 udp 10 mountd
> 100005 1 tcp 10 mountd
> 100005 3 tcp 10 mountd


I don't see the Network Lock Manager (rpc.lockd) or the Network Status Monitor (rpc.statd) registered on the VMS system. While these protocols are not required to mount the filesystem, they are needed if you plan on running any applications that generate file lock requests.

I recommend you configure the VMS server to start these protocols.

Regards,

Dave
Yves HUDON
Advisor

Re: HP-UX server FNS mount VMS directory - Permission Denied

I have found the error!...

Since we use ODS-5 Volume on VMS we have to use the option "name_conversion".

TCPIP> add export /option=name_conversion
"/vms_disk_pon1/pon_vip" /host="ssq23"

TCPIP> show export
File System Host name
/vms_disk_pon1/pon_vip ssq23
Options: Name_cvt

ssq23:/# bdf /pon_vip
Filesystem kbytes used avail %used Mounted on
ssq7:/vms_disk_pon1/pon_vip 73400320 41778020 31622300 57% /pon_vip
ssq23:/#

Best Regards


Yves HUDON
Advisor

Re: HP-UX server FNS mount VMS directory - Permission Denied

The file system is mounted but I can not access it!

NFS access failed for server ssq7: error 7 (RPC: Authentication error)
/pon_vip unreadable