Operating System - HP-UX
1833655 Members
3605 Online
110062 Solutions
New Discussion

REPOSTED: Cannot mount remote file systems

 
Clarence J
Frequent Advisor

REPOSTED: Cannot mount remote file systems

The following msg below is re-posted as it was unknowingly declared closed and solved after the points were assigned. My humble apologies. Wld appreciate if someone cld assist me.

Hi

I have a filesystem created on Linux RedHat 7.0 called /xpt.
I'm trying to import it into my HP D370 server. However, when I run SAM -> Networking and Communications -> Mounted Remote File Systems
and try to have the directory mounted, I get the following error:
"nfs mount: get_fh: lxmits::RPC: Program not registered."
What does this error mean and how to overcome it?

A possible solution was given as issue:

showmount -e

I can see the exported NFS but cannot see the contents of the directory. Any help?
4 REPLIES 4
Vincent Stedema
Esteemed Contributor

Re: REPOSTED: Cannot mount remote file systems

Which version of NFS does the linux box support? Use the following command to determine this:

rpcinfo -u mountd

The output should be something like: "Version X ready.....". Then, try to mount the filesystem using the "vers=X" parameter, eg:

mount -F nfs -o vers=2 linuxbox:/remotefs /localmount

Hope this helps.

Vincent
John Read
New Member

Re: REPOSTED: Cannot mount remote file systems

mount -F nfs -o vers=2 linuxbox:/remotefs /localmount
works! I have been able to mount from HP-UX to linux but not vice-versa until I tried the above command. I am using Redhat 7.1 with 2.4.7 kernel. Excellent! Thanks!
"Who is gonna pay for all those linux licenses?"
Magdi KAMAL
Respected Contributor

Re: REPOSTED: Cannot mount remote file systems

Hi Clarence,

You state "nfs mount: get_fh: lxmits::RPC: Program not registered."

This means that the Remote Procedure Call ( RPC ) is not registred to reply to incomming requests asking for services to be staisfied.

Check the following daemons if they are running :

1. /usr/sbin/rpcbind
2. /usr/sbin/rpc.lockd
3. /usr/sbin/rpc.statd
4. /usr/sbin/rpc.mountd

Check also the output of the command :

#rpcinfo

and fetch if there are entries for the service :
1. rpcbind
2. status
3. nlockmgr
4. mountd
5. nfs

Check lso if the patch "HP DCE/9000 1.7 runtime cumulative patch" is installed.

HTH.

Magdi
linuxfan
Honored Contributor

Re: REPOSTED: Cannot mount remote file systems

Hi Clarence,

On your linux machine do
chkconfig --list |egrep "nfs|portmap"
By default the init level is 3, so the above command should say on for on for nfs,nfslock and portmap(this would start daemons on reboots).

But in any case you can start them manually
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfslock start
/etc/rc.d/init.d/nfs start

Also update your /etc/exports on your linux machine to

/exported/dir hphost(rw)

once you save the file, run exportfs -a

now on your hp machine
you should be able to mount the filesystem.

BTW, This is an excellent HOW-TO to set up your linux box as an NFS-Server, If it is a trusted environment, you can skipt the /etc/hosts.allow and /etc/hosts.deny section.

http://www.linuxdoc.org/HOWTO/NFS-HOWTO/server.html#SERVERINTRO

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates