Link to home
Start Free TrialLog in
Avatar of kimber
kimber

asked on

HP-UX 10.01 and Solaris 2.5 NFS Mounts

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.    
Avatar of elfie
elfie
Flag of Belgium image

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
Avatar of kimber
kimber

ASKER

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.

ASKER CERTIFIED SOLUTION
Avatar of elfie
elfie
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial