1845795 Members
4515 Online
110250 Solutions
New Discussion

remote mount a cdrom

 
Rick Garland
Honored Contributor

remote mount a cdrom

Hi all:

HPUX 11.11 on rp7410. Trying to remote mount a cdrom from RH es 3.0 Linux. All on the Linux is fine - postmap, nfs rpc, etc are running.

On the HPUX side I get the following error message:
hspubu20:/# mount raggmopp:/mnt/cdrom /cdrom
nfs mount: get_fh: raggmopp:: RPC: Rpcbind failure - RPC: Timed out
nfs mount: get_fh: raggmopp:: RPC: Rpcbind failure - RPC: Timed out
nfs mount: retry: retrying(1) for: /cdrom after 5 seconds
nfs mount: retry: giving up on: /cdrom

Any ideas why?


10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: remote mount a cdrom

Rick,

OK, I'll play stupid (and please don't say that's normal):

Is postmap on Linux the same as export on HP-UX?


Pete

Pete
Rick Garland
Honored Contributor

Re: remote mount a cdrom

Yes - portmap is running
(Forgive my typo above - this should be portmap, not postmap)
Pete Randall
Outstanding Contributor

Re: remote mount a cdrom

Rick,

I think of name resolution issues when I see an rpcbind failure. Is everything squared away in DNS?


Pete

Pete
RAC_1
Honored Contributor

Re: remote mount a cdrom

rpcinfo -p "linux_host"

Does portmap shows??
Also, as Pete said, nslookup.

There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: remote mount a cdrom

The only other thread I could find that talked about rpcbind failures suggested stopping and restarting nfs and rpc - might be worth a try.


Pete

Pete
Rick Garland
Honored Contributor

Re: remote mount a cdrom

Got resolution verified - forward and backwards. When I do the rpcinfo -p 'hostname' it just hangs. No return.

Do the rpcinfo -p 'HPhost' and I get all the info returned.

I believe I have found the issue.
This HPUX system is in a different subnet from my other HPUX systems yet I can get the rpcinfo from them.

This HP system is in a different subnet from my Linux system yet I cannot get rpcinfo. Doing a quick check shows that port 111 is open between HP systems on different subnets but it is not open between the Linux and HP systems. Remember all systems are on different subnets. I can 'telnet HPsysB 111'
but I cannot 'telnet Linux 111'.

Am I correct in this train of thought?

Pete Randall
Outstanding Contributor

Re: remote mount a cdrom

Rick,

That may well have something to do with it. Is there another machine in the same subnet that you could try mounting with?


Pete

Pete
Rick Garland
Honored Contributor

Re: remote mount a cdrom

Besides the Linux on my desktop, I have no other machines outside of the data center. Time to take a trip. Or get the network folks on it.

Chris Vail
Honored Contributor

Re: remote mount a cdrom

I have always found that HPux NFS works better if the /etc/nsswitch.conf lists "hosts" as first, and that there is an entry in /etc/hosts for the server.


Chris
Shannon Petry
Honored Contributor

Re: remote mount a cdrom

A few issues that commonly cause this.

Linux box must be runnning NFS server and portmap, as well as the cdrom being exported.

export in linux is different than other unixes. Format of /etc/exports is

/dir host(permissions) host(permissions)
*NOTE: no space between host and permissions

So in your case

/mnt/cdrom yourhost(ro)
or
/mnt/cdrom *(ro)

I usually completely flush the exports table, because Linux does not do as good as it could in rebuilding entries that already exist.

exportfs -u -a
exportfs -a

exportfs should show the file system exported.

If this does not allow the HP to mount, then see if iptables is loaded and causing the problems.

If this is redhat, run the following:

service iptables stop

Make sure that iptables is not running.
lsmod | grep iptables

If you still see the iptables module, remove it with:
rmmod iptables

Hope this helps.

Regards,
Shannon

Microsoft. When do you want a virus today?