cancel
Showing results for 
Search instead for 
Did you mean: 

NFS between TRU64 and HPUX

friki
Advisor

NFS between TRU64 and HPUX

Hi,

I continue with mys probles with nfs...
I need to mount a directory by nfs from node1(tru64) to node2(hpux)
In node1 I put this one in /etc/exports:

/dir1 -access=node2


In node2 I try to mount it and system said following:
node2:/># mount node1:/dir1 /dir1
Permission denied

Thanks.-
7 REPLIES
Venkatesh BL
Honored Contributor

Re: NFS between TRU64 and HPUX

what does the 'showmount' command output now?. Is 'node2' listed in the /etc/hosts file?
friki
Advisor

Re: NFS between TRU64 and HPUX

Hi,

In node2:

#showmount -e node1:
export list for node1:
/MER/ARCHIVE/INPUT3 node2

In /etc/hosts node1 is node2 and in node2 is node1

permissions of /dir1 is 777 in both nodes

any idea?

Thanks.-

Venkatesh BL
Honored Contributor

Re: NFS between TRU64 and HPUX

Is "/MER/ARCHIVE/INPUT3" in the exports file? Wondering how it is in the showmount o/p.
friki
Advisor

Re: NFS between TRU64 and HPUX

Hi,

Sorry /MER/ARCHIVE/INPUT3 i called it /dir1.

/etc/exports is ok and showmount is this:


node2

showmount -e node1
/dir1 node2


Thanks
Ivan Ferreira
Honored Contributor

Re: NFS between TRU64 and HPUX

Verify that name resolution (host-to-ip) is consistent in both servers.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Hein van den Heuvel
Honored Contributor

Re: NFS between TRU64 and HPUX


>> In node2 I try to mount it and system said following:
node2:/># mount node1:/dir1 /dir1


My guess is that is its something to do with the security/protection/owneship/usage of /dir on node2

Have you tried the nfs mount using a fresh, clean, owned-by-you, directory?
Something like:
node2:/># mkdir /test
node2:/># mount node1:/dir1 /test

fwiw,
Hein.

Hein van den Heuvel
Honored Contributor

Re: NFS between TRU64 and HPUX


In your other topic, which you coudl simply have continued to give us easy context, you wrote:

>> Can't access node1:/dir: Permission denied

Has that message now changed or were you sloppy in copying the text to this new topic?

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=974931

>> In /etc/hosts node1 is node2 and in node2 is node1


I think that you are trying to say that in the /etc/host on the node1 there is a definition for node2, and visa versa.
What I pould prefer to see is that /etc/hosts is simply identical on both systems. That avoids any potential confusion. Why not?

Regards,
Hein.

http://forums1.itrc.hp.com/service/forums/helptips.do?#28