NFS mount to tru64 5.1 from HP-UX 11iv3 (955 Views)
Reply
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 1 of 21 (955 Views)

NFS mount to tru64 5.1 from HP-UX 11iv3

I'm stumped...I have a tru64 5.1b host. I'm trying to mount a filesystem from an HP-UX 11iv3 server.

from the tru64 client:

client # rpcinfo -p server
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100024 1 udp 49153 status
100024 1 tcp 49152 status
100133 1 udp 49153
100133 1 tcp 49152
1073741824 1 tcp 49153
100005 1 udp 61056 mountd
100003 2 udp 2049 nfs
100005 1 tcp 56219 mountd
100003 3 udp 2049 nfs
100005 2 udp 61056 mountd
100005 2 tcp 56219 mountd
100005 3 udp 61056 mountd
100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100005 3 tcp 56219 mountd

apps-raos # showmount -e server
Exports list on server:
/scratch Everyone

Now here's the strange part:

mount server:/scratch /scratch
Cannot talk to mount server at cadprd01: RPC: Timed out

What am I missing?


I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,068
Registered: ‎02-23-2005
Message 2 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

> [...] I have a tru64 5.1b host. [...]

Actual output from:
sizer -v
and/or:
dupatch -track -type patch_level | grep 'Patch Kit'
could be interesting.

> What am I missing?

I don't know. Around here, I use the
automounter with no particular trouble.

urtx# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Fri Mar 20 20:19:48 CDT 2009

urtx# dupatch -track -type patch_level | grep 'Patch Kit'
Patch Kit 5: T64V51BB26AS0005-20050502 OSF540
Patch Kit 6: T64V51BB27AS0006-20061208 OSF540
Patch Kit 7: T64V51BB28AS0007-20090312 OSF540

dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license

urtx# cd /net/dyi/stand
urtx# ls -l
total 67836
-rw-r--r-- 1 root mem 0 Jan 23 2008 .kc.lock
drwxr-xr-x 5 root mem 8192 Apr 26 2010 backup
dr-xr-xr-x 3 2 uucp 96 Jan 23 2008 boot.sys
-rw-r--r-- 1 root mem 22 Jan 23 2008 bootconf
[...]

urtx# mount
root_domain_2#root on / type advfs (rw)
/proc on /proc type procfs (rw)
usr_domain_2#usr on /usr type advfs (rw)
usr_domain_2#var on /var type advfs (rw)
dyi:/ on /tmp_mnt/net/dyi type nfs (v3, rw, nosuid, udp, hard, intr)
dyi:/var on /tmp_mnt/net/dyi/var type nfs (v3, rw, nosuid, udp, hard, intr)
dyi:/usr on /tmp_mnt/net/dyi/usr type nfs (v3, rw, nosuid, udp, hard, intr)
dyi:/opt on /tmp_mnt/net/dyi/opt type nfs (v3, rw, nosuid, udp, hard, intr)
dyi:/home on /tmp_mnt/net/dyi/home type nfs (v3, rw, nosuid, udp, hard, intr)
dyi:/stand on /tmp_mnt/net/dyi/stand type nfs (v3, rw, nosuid, udp, hard, intr)


Any chance that you have some firewall (or
other access restrictions) blocking the RPC
traffic between these guys?
Please use plain text.
Trusted Contributor
Cortes Albertino
Posts: 56
Registered: ‎10-21-2003
Message 3 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Hello,
Did you also try using the ip@ of the NFS server ? And did it also fails or not?
You must first check if the tcp/ip Host Name Resolution is working or not. Please also check first /etc/hosts, resolv.conf, nsswitch.conf files too and etc..

Here is assuming your node is not a cluster member...You may check that also with
# hwmgr -view cluster
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 4 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

My tru64 node IS part of a cluster. Not sure if that matters. I have verified name resolution. If I use the IP address, I see the same results.

I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 5 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Hi Thomas,

I would sanity check the name resolution...

Based on your original output, I'm not sure whether you've tried to mask some of the real hostnames from the output, or whether "server" and "client" exist as real names, either in hosts or DNS...

Regards,

Rob
Please use plain text.
Honored Contributor
Vladimir Fabecic
Posts: 1,128
Registered: ‎03-03-2005
Message 6 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Thomas,
Did you put IP address of default cluster alias in /etc/export file on HP-UX machine?
In vino veritas, in VMS cluster
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 7 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

I did not do anything with the default IP of the cluster. I fail to see why that would be relevent, since the cluster node is just an NFS client. Please explain - I realize that trucluster can complicate some things.

Thanks.
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 8 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

The outbound traffic from the client to the server might not be going out on the interface that you think it is...

Do the log files on the server yield any clues ?

Cheers,
Rob
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 9 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Rob, to simplify things, I have exported the server filesystem to any client. (filesystem is empty now - for test purposes).

If showmount -e (run from the client) shows the exported filesystem on the server, wouldn't that imply that the Tru64 client should be able to mount it?

-tjh
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 10 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

I've never used showmount, so can't really comment, however a quick test on a couple of Linux boxes I've got handy appears to suggest that showmount -e just lists what is exported, not whether the shares are actually mountable...

Did you get anything from the HP-UX log files ?

Cheers,
Rob
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 11 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Here is the client error message:

apps-raos # apps-raos # apps-raos # mount cadprd01:/scratch /scratch
Cannot talk to mount server at cadprd01: RPC: Timed out
Cannot talk to mount server at cadprd01: RPC: Timed out
Cannot talk to mount server at cadprd01: RPC: Timed out
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 12 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

mountd.log and statd.log do not show anything.
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 13 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Anything in the syslog.log ?

What happens if you try telnetting to the NFS port on the server ?

# telnet cadprd01 2049

Cheers,
Rob
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 14 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3


telnet answers on port 2049...very quickly.

Nothing in syslog.log! Very frustrating.

I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 15 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Hmm...

Try looking in the output of "netstat -an" when you're doing a telnet on port 2049 to work out what interfaces are being used...

Compare that with what happens when you try and do the mount command.

Cheers,
Rob
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 16 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

telnet:
tcp 0 0 10.0.214.73.2049 10.99.204.37.62827 ESTABLISHED]


mount:

tcp 0 0 *.2049 *.* LISTEN
udp 0 0 *.2049 *.*


Interesting...
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 17 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

OK, so it's not getting as far as doing the NFS bit. Try similar tests with port 111.

Cheers,
Rob
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 18 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

telnet: port 111 connection is established
mount: port 111 tcp/udp not established.
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 19 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Does the netstat -a output from the client show anything interesting ?
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 20 of 21 (957 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

OK, I am now getting an error in mountd.log on the HP-UX nfs server:


Nov 5 10:00:10 cadprd01 /usr/sbin/rpc.mountd pid=1038 tid=2 MOUNT request from: apps-raos.police.mtl denied: Permission denied

It must be cached - as the test I ran this morning was at around 9:30am, not 10am.

So, what "permissions" are we referring to?

I share the filesystem with:

share -F nfs -o rw -d "scratch" /scratch

Which I believe is wide open...

-tjh
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
Trusted Contributor
Thomas J. Harrold
Posts: 323
Registered: ‎05-16-1996
Message 21 of 21 (955 Views)

Re: NFS mount to tru64 5.1 from HP-UX 11iv3

Thanks to all who helped. I also opened a case with HP, and they helped me narrow down the problem to UDP being blocked by the firewall software. The key was:

rpcinfo -t mountd
(worked)
rpcinfo -u mountd
(hung)

After the network group modified their firewall (CheckPoint), the problem went away.

-tjh
I learn something new everyday. (usually because I break something new everyday)
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation