Operating System - HP-UX
1830862 Members
2658 Online
110017 Solutions
New Discussion

Re: NFS Mount Problems from HPUX to RH Linux

 
Corey Hart
Occasional Contributor

NFS Mount Problems from HPUX to RH Linux

Hello,

I am trying to mount a volume on my HPUX 11 to my RH Linux 8.0 box. Here is what my /etc/exports file looks like on my HPUX box:

/somedirectory -anon=SOMENUMBER,root=linuxmachine,access=linuxmachine
/someotherdirectory -anon=SOMENUMBER,root=linuxmachine,access=linuxmachine

This is the /etc/fstab on the linux machine.

hpuxmachine:/somedirectory /thedirectory nfs defaults 0 0
hpuxmachine:/someotherdirectory /theotherdirectory nfs defaults 0 0

when I do a mount -a on the linux machine I get:

mount: hpuxmachine:/somedirectory failed, reason given by server: Permission denied
mount: hpuxmachine:/someotherdirectory, reason given by server: Permission denied

If I run an RPCinfo on the Linux machine this is what I see:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 894 rquotad
100011 2 udp 894 rquotad
100011 1 tcp 897 rquotad
100011 2 tcp 897 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32909 nlockmgr
100021 3 udp 32909 nlockmgr
100021 4 udp 32909 nlockmgr
100005 1 udp 32910 mountd
100005 1 tcp 35121 mountd
100005 2 udp 32910 mountd
100005 2 tcp 35121 mountd
100005 3 udp 32910 mountd
100005 3 tcp 35121 mountd

If I run it on the HPUX machine I see:

program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 tcp 49153 status
100024 1 udp 49162 status
100021 1 tcp 49154 nlockmgr
100021 1 udp 49163 nlockmgr
100021 3 tcp 49155 nlockmgr
100021 3 udp 49164 nlockmgr
100021 4 tcp 49156 nlockmgr
100021 4 udp 49165 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49157 nlockmgr
100068 2 udp 49232
100068 3 udp 49232
100068 4 udp 49232
100068 5 udp 49232
100083 1 tcp 49158
100005 1 udp 49387 mountd
100005 3 udp 49387 mountd
100005 1 tcp 49195 mountd
100005 3 tcp 49195 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs

I am able to nfs mount linux directories onto the HPUX, just not the other way around. I am sure I have all the information staring me in the face, but don't know where to move next.

Cheers
7 REPLIES 7
Ken Hubnik_2
Honored Contributor

Re: NFS Mount Problems from HPUX to RH Linux

What are the permissions on /somedirectory and who is the owner.
Ken Hubnik_2
Honored Contributor

Re: NFS Mount Problems from HPUX to RH Linux

What are the permissions on /somedirectory and who is the owner.
Corey Hart
Occasional Contributor

Re: NFS Mount Problems from HPUX to RH Linux

root, 770

just like all the other directories I have that I mount to other HP systems.
Mark Greene_1
Honored Contributor

Re: NFS Mount Problems from HPUX to RH Linux

On the HP box, what does showmount -e return?

mark
the future will be a lot like now, only later
Corey Hart
Occasional Contributor

Re: NFS Mount Problems from HPUX to RH Linux

/somedirectory linuxmachine
/someotherdirectory linuxmachine
blal
Frequent Advisor

Re: NFS Mount Problems from HPUX to RH Linux

Hi

On HP unix you can try restarting the NFS server process.

/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.server start

Now do exportfs -a on HP box

Now try to mount it.

If it doesent then create a new dir. and export it and try .(mostly ur problem is somewhere here with directory permission,give full permission to dir.)

Still not then , Put only the mount points in
the /etc/exports file and try again.
example

/somedirecory

then do exportfs -a and try once again.

Good luck.
baiju.
Live and let live.
Mark Greene_1
Honored Contributor

Re: NFS Mount Problems from HPUX to RH Linux

root, 770

just like all the other directories I have that I mount to other HP systems.

---

But, is the actual group on the directory in question the same? It appears you have all the pieces-parts for rpc and nfs running. This still smells like a permissions issue.

mark
the future will be a lot like now, only later