Solved

HP-UX 10.01 and Solaris 2.5 NFS Mounts

Posted on 1998-05-13
3
379 Views
Last Modified: 2013-12-23
A Solaris 2.5 box is serving as the main NFS server.  One of the directories that is currently being shared from this box is /test/data1.  I have an HP-UX 10.0 box that has two files that need to be mounted by other machines on the network.  The files live in /test/data1/data2 on the HP-UX box.  (The files have to be resident on the HP-UX box for COTS utilization).  I created the exports file and exported it with no errors on the HP.  However, I cannot mount it from any other machine on the network.  I receive an error about "RPC Program Not Registered" on the HP-UX box.  However, the inetd.conf file looks fine.  I have a document that says,
"You cannot export a directory that resides within the same file system and is either a parent or s sub-directory of a directory that is currently exports.  For example, /usr and /usr/local cannot both be exported if they reside on the same disk partition."
Does this statement apply to this situation?  The /test/data1 directory is being exported by the Sun machine, but /test/data1/data2 directory is being exported by the HP.

Thanks for any suggestions.    
0
Comment
Question by:kimber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:elfie
ID: 1582327
I think the problem here is that are trying to exported a directory that does reside on another system (ie. it was mounted from another system).

It would be much better just the mount the /test/data1 from the sun machine.
If for some reason you only need to export the files under /test/data1/data2 your will have to move to /test/data1/data2 towards /test/data2, and export the /test/data2 diretory
0
 

Author Comment

by:kimber
ID: 1582328
Elfie,

Please restate the second paragraph.  I do need to export the fiels under /test/data1/data2, but they have to reside on the HP Machine rather than on the SUN.  

Are you saying that I should copy the files under /test/data1/data2 on the HP to /test/data1/ on the SUN and then export the files from the Sun?  Then I will have to maintain two copies of these two files...

Thanks for the clarification.

0
 
LVL 3

Accepted Solution

by:
elfie earned 100 total points
ID: 1582329
After re-reading the question:

What do you exactly mean by the file live on HPUX in the /test/data1/data2 directory. As i understand it you mounted the /test/data1 from the sun machine on your HPUX box and the mount point on HPUX is also /test/data1. How did you create the data2 directory? Is it mounted from HP into this /test/data1 dir, with mount point .../data2?


What i was trying to explain is that you on your Sun machine you have a /test/data1 directory, and on the HPUX you have a /test/data2 directory. If you now export both directories (yes you have to mount 2 dirs) on the other machines, you have on all machines two directories available /test/data1 and /test/data2.

In case you really need to have the files in the directory /test/data1/data2 for some reason, you can make a softlink on the Sun machine inside the /test/data1 directory that points towards /test/data2 (ln -s /test/data2 data2). This way all files residing on your HPUX machine in the /test/data2 directory will be accessible from within the /test/data1/data2 link.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question