Operating System - HP-UX
1836612 Members
3833 Online
110102 Solutions
New Discussion

Re: Cannot mount remote file systems

 
SOLVED
Go to solution
Clarence J
Frequent Advisor

Cannot mount remote file systems

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?
8 REPLIES 8
Printaporn_1
Esteemed Contributor
Solution

Re: Cannot mount remote file systems

Hi,

If you already export NFS files from Linux , you can use #showmount -e to see does UNIX see that exported files system or not ?
enjoy any little thing in my life
Clarence J
Frequent Advisor

Re: Cannot mount remote file systems

Yes, when I issue the above command I can see the exported directory.

How is it I cannot see the contents of the directory at all. BTW, the directory appears as a soft link on the HP server.

Regards.
Clarence J
Frequent Advisor

Re: Cannot mount remote file systems

Sorry, I have mistakenly closed this case by assigning the pts.

Can someone pls follow-up on this and help me resolve the above? Pls refer to my previous msg.

Thks!
Ravi_8
Honored Contributor

Re: Cannot mount remote file systems

Hi,
u r linux system showing that the filesystem is exported, but what is the entry do u have in the /etc/exports, is it for all system or for specified systems, if so make an entry for unix system to which u wanted to mount.
i.e open the /etc/exports, make entry
filesystem path -access=unix system
close the file
#exportfs -a
in the unix system
#mount linux mc name:/filesystem path /mount- point
hope this solve u r problem

never give up
Ravi_8
Honored Contributor

Re: Cannot mount remote file systems

hi,
u r linux system shows that the filesystem has been exported, but is it been exported to all the systems or just for specified systems, pls do check the /etc/exports file, if entry is not there for the unix system make the same and
#mount filesystem /mount-point
# exportfs -a
in the unix machine
# mount linux system:/mount-point /mountpoint
hope this solve u r problem

later
ravi
never give up
Clarence J
Frequent Advisor

Re: Cannot mount remote file systems

Thks Ravi,

I've placed an entry in /etc/exports. Hw when I do an exportfs -a, I get an error:

no such file or directory eventhough it exists.

Pls assist.
Stefan Schulz
Honored Contributor

Re: Cannot mount remote file systems

Hi,

most Linux Systems don't support the exportfs command. In the manpages of exports you will find the necessary command to make the changes active. (Think it's something like inetd -c).

For the RPC message: Think you have to make your Linux box to an NFS Server and not only an NFS Client. In HP-UX you have to set NFS_SERVER=1 in the /etc/rc.config.d/nfsconf. Try to find a similar entry in the /etc/rc.config. This should solve your RPC problems.

Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Tim D Fulford
Honored Contributor

Re: Cannot mount remote file systems

I sort of concur with stefan above. If you are exporting a Linux FS & importing it onto HP, HP needs to be a NFSClient and the Linux bot a NFSServer, NOT the other way 'round.

Just a couple of other basic things. [I may well be teaching you to suck eggs here, if so appologies :o]

If you are using HP-UX 11.x NFS will be V3 10.X it will be V2

Make sure BOTH boxes can ping each other

Good luck

Tim
-