NFS Server FC7 Solaris client problems!


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux NFS Server FC7 Solaris client problems!
# 1  
Question 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 daysSmilie!

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''
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
# 2  
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.
# 3  
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 !

Last edited by joerg; 07-12-2007 at 01:19 PM..
# 4  
Bug Solved

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

Last edited by joerg; 07-12-2007 at 07:43 PM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #140
Difficulty: Easy
Unix and the C programming language were both developed at AT&T.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

2. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

3. Solaris

NFS anche Cache on Solaris 10 Client

Hi all, in Solaris 10 u9 the NFS protocol use a cache for data files read write transitions in client side? for example the ZFS use the RAM behind the ARC cache. in case, how many large is the NFS cache? The NFS cache use a quantity of RAM? thank you Matteo (2 Replies)
Discussion started by: mjnman
2 Replies

4. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

5. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

6. Red Hat

Memory problems in NFS client server

Hi all, i have some doubts in a situation that i fail to get an answer in Google. I have a solaris 10 nfs server and 5 centos 6.0 nfs clients. The problem/situation is that in the clients the free memory is "disappearing" along the time (passing to used)..and it gets free if i umount the... (5 Replies)
Discussion started by: blast
5 Replies

7. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

8. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

9. UNIX for Advanced & Expert Users

Determining IP address of NFS server on client

Hi. We use an Isilon cluster system to provide our NAS. The Isilon uses a round-robin DNS setup to spread mount requests across the many nodes of the cluster. When a node needs work, the filesystems that are mounted to it need to be moved to other nodes prior to shutting the node down. I... (2 Replies)
Discussion started by: rascalrick
2 Replies

10. UNIX for Advanced & Expert Users

NFS server problems [merged]

I have a machine A NFS mounted on machine B I am doing a build from machine B on the MFS mounted dir of machine A but I keep getting the following: NFS server A not responding still trying. I go to machine A and can log onto machine A and everything seems fine. How do I go about finding... (6 Replies)
Discussion started by: brv
6 Replies

Featured Tech Videos