Hi,
I have the following configuration:
Machine1: Server (Redhat EL 4) | ip:192.168.0.254
Machine2: Client1 (RedHat based linux) | ip:192.168.0.6
Machine3: Client2 (Redhat based linux) | ip:192.168.0.9
Both clients file system is nfs mounted
Code:
/tftpboot/images *(rw,sync,no_root_squash,no_all_squash)
from the Server. Both clients run without any problems.
Now I want the clients to be able to mount a directory on each others file system. Both have the following line in the /etc/exports:
Code:
/usr/local/remote *(rw,root_squash,sync)
nfs server are running on both clients:
Code:
# /usr/sbin/rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 942 status
100024 1 tcp 945 status
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32769 nlockmgr
100021 3 tcp 32769 nlockmgr
100021 4 tcp 32769 nlockmgr
100005 1 udp 858 mountd
100005 1 tcp 861 mountd
100005 2 udp 858 mountd
100005 2 tcp 861 mountd
100005 3 udp 858 mountd
100005 3 tcp 861 mountd
And when I try to mount the directory manually, I get:
Code:
#mount 192.168.0.6:/usr/local/remote test
mount: 192.168.0.6:/usr/local/element/rel/ failed, reason given by server: Permission denied
Where can I trace the problem? Any clue how to solve this?
thanks,
Indy