NFS Server FC7 Solaris client problems!

Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.

Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the client to use only nfs version 3.

I hope that anyone can help me!

Hint: Solaris experience more then 7 years but linux less then two days:(!

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Solaris box :
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
montagu@zeus:[~] $ uname -a
SunOS zeus 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-60

tail -20f /var/adm/messages
Jul 12 09:26:28 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:26:28 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:26:28 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:26:28 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:19 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:19 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:19 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:19 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:22 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:22 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/home on
/net/192.168.10.191/NFS4exports/home: No such file or directory
Jul 12 09:32:22 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:22 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/home on
/net/192.168.10.191/NFS4exports/home: No such file or directory

montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd export
bash: cd: export: Permission denied
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd home
bash: cd: home: Permission denied

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Fedora box :
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
uname -a
Linux jumpstart100 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007 i686 i686 i386 GNU/Linux

###############################################################################

more /etc/exports
/NFS4exports/home 192.168.10.0/24(ro,insecure,sync,no_wdelay,no_subtree_check,insecure_locks,fsid=0)
/NFS4exports/export 192.168.10.0/24(ro,insecure,sync,insecure_locks,nohide,fsid=0,no_root_squash)

###############################################################################

service nfs restart

Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]

###############################################################################

more /etc/sysconfig/nfs
RPCNFSDARGS="-N 4"

###############################################################################

rpm -qa | grep nfs
nfs4-acl-tools-0.3.1-1.fc7.2
nfs-utils-lib-1.0.8-8.fc7
system-config-nfs-1.3.25-1.fc7
nfswatch-4.99.9-1.fc7
nfs-utils-1.0.12-4.fc7

###############################################################################

more /etc/fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/home /NFS4exports/home none bind 0 0
/export /NFS4exports/export none bind 0 0

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Snoop and commands traced on the Solaris box:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# cd /net
# ls
# cd 192.168.10.191
# ls
NFS4exports
# ls
NFS4exports
# cd NFS4exports
# ls
export home
# cd export
export: permission denied
#

And now the network snoop:
# snoop 192.168.10.191
Using device /dev/hme (promiscuous mode)
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Syn Seq=555221081 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Syn Ack=555221082 Seq=4195591139 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591140 Seq=555221082 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 NFS C NULL4
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Ack=555221126 Seq=4195591140 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 RPC R (#4) XID=1183953721 Program number mismatch (low=2, high=3)
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591176 Seq=555221126 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Fin Ack=4195591176 Seq=555221126 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Fin Ack=555221127 Seq=4195591176 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591177 Seq=555221127 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100003 (NFS) vers=3 proto=UDP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=2049
192.168.10.10 -> 192.168.10.191 NFS C NULL3
192.168.10.191 -> 192.168.10.10 NFS R NULL3
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Syn Seq=555354387 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Syn Ack=555354388 Seq=4197427390 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427391 Seq=555354388 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Ack=555354432 Seq=4197427391 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427535 Seq=555354432 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Fin Ack=4197427535 Seq=555354432 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Fin Ack=555354433 Seq=4197427535 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427536 Seq=555354433 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Syn Seq=555527220 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Syn Ack=555527221 Seq=4197107640 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107641 Seq=555527221 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Ack=555527265 Seq=4197107641 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107785 Seq=555527265 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Fin Ack=4197107785 Seq=555527265 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Fin Ack=555527266 Seq=4197107785 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107786 Seq=555527266 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Syn Seq=560146977 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Syn Ack=560146978 Seq=4211632485 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632486 Seq=560146978 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Ack=560147022 Seq=4211632486 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632630 Seq=560147022 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Fin Ack=4211632630 Seq=560147022 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Fin Ack=560147023 Seq=4211632630 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632631 Seq=560147023 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Syn Seq=562399097 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Syn Ack=562399098 Seq=4219104707 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104708 Seq=562399098 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Ack=562399142 Seq=4219104708 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104852 Seq=562399142 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Fin Ack=4219104852 Seq=562399142 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Fin Ack=562399143 Seq=4219104852 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104853 Seq=562399143 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=896
192.168.10.10 -> 192.168.10.191 MOUNT3 C Null

Nice post, it contains a lot of info, though I cannot see the problem at prima vista. Can you try to change the /24 part to the real IPs of the machines ? I had this issue today, for some reason I was not able to mount them. Also, apparently the export zone is Fedora 7, and you are issuing "mount" from Solaris box, what is the command line that you have invoked and what was the error message. The NFS version incompatibility could be possible reason, although personally I haven't ran into such troubles (or can't remember) - try scratching that problem with flag "-o vers=3" when mounting.

Hi Sysgate,
I changed it from /24 to the 192.168.10.10 (this ist the real IP)
But without success!
I use the automount of the /net to mount the filesystem on the solaris box.

montagu@zeus:[~] $ cd /net
montagu@zeus:[/net] $ ls
192.168.10.191
montagu@zeus:[/net] $ cd 192.168.10.191/
montagu@zeus:[/net/192.168.10.191] $ ls
NFS4exports
montagu@zeus:[/net/192.168.10.191] $ cd NFS4exports/
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ ls
export home
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd export/
bash: cd: export/: Permission denied
montagu@zeus:[/net/192.168.10.191/NFS4exports] $

Sorry I can not change any thing on the solaris box!
The fedora nfs server will be used as jumpstart server. AT the early installation step of a jumpstart install I am not able to switch mount options on the client.

Thanks !

OK I solved this problem by reinstall off the fedora box and

the following changes inside the export file:
export RPCNFSDARGS="-N 2 -N 4"
export SECURE_NFS="no"

I changed it because after the new installation I mentioned that the server support NFS Versio 2 and 3. But Solaris 10 need Version 3.

snoop:
before success:
RPC R (#1372) XID=1184230484 Program number mismatch (low=2, high=3)

With success:
PORTMAP C GETPORT prog=100003 (NFS) vers=3 proto=TCP

One day work for a simple problem!

Best regards
joerg