Solaris 10 NFS 4 Problem

Solaris 10 NFS 4 Problem

Post by Roger Stephen Blak » Fri, 11 Mar 2005 08:47:23



Just loaded Solaris 10 (10_69) on both a SPARC and Intel system
and having problems getting NFS 4 to work. (SPARC server and Intel
client)

All seems ok until I try and access the mounted NFS filesystem
which gives an I/O error.

Fixing NFS versions on both client and server to 3 and restarting
everything is fine. Fixing everything at version 4 (as opposed to
defaulting to 4) and things fail as before.

Am I doing something stupid ? Any ideas welcome as I really need to get
this working quickly. (I'd like to take the Beta cert. exams so don't
really have time for packet tracing at present :-( ) Can't find anything
on the net, and having read the docs I can't yet see anything else that
must be done for 4. All imstallations were default setting, full
distributions. Using the server as the client (thus bypassing network
equipment and SPARC/Intel problems)  also didn't help (SPARC->SPARC)
with 4.

Thanks
Roger Blake

 
 
 

Solaris 10 NFS 4 Problem

Post by ba.. » Fri, 11 Mar 2005 16:35:52


Make sure you specify nfsmap ids correctly....
see /etc/default/nfs.

And upgrade to FCS - S10 has shipped!

Why fiddle with build 69?

=- Bart

 
 
 

1. NFS root problems with Solaris 10 and Linux

       Hi,

I have a Linux NFS server (for a particular directory only) that certain
machines on our network (netgroup unices) need to access. Since the
directory on Linux machine (zion) would contain backups, it is only
accessable by root and Linux /etc/exports contains no_root_squash option,
which is Linux equivalent for 'anon=0':

zion# cat /etc/exports

Permissions of the directory are

zion# ls -la /data/offsite/
total 24
drwx--x--x  6 root root 4096 Apr 27 13:56 ./
drwxr-xr-x  5 root root 4096 Apr 27 10:28 ../
drwx------  2 root root 4096 Apr 27 14:29 bin/
drwxr-xr-x  2 root root 4096 Apr 27 16:27 config/
drwx------  2 root root 4096 Apr 27 14:28 dumps/
drwxr-xr-x  2 root root 4096 Apr 28 10:15 logs/

So far, so good. Now for the problem: all machines in unices netgroup are
able to access that directory except for (AFAIK) two: one of these is a
pretty much patched Solaris 10 SPARC machine, the other one is my Solaris
Express 04/05 x86 workstation. There are some more Solaris 10 machines in
our networks that _are_ able to access the said directory (using
/net/zion/data/offsite path), but these two can't and I don't know why.

First I thought the reason could be the patch 118375-01 for NFS client in
kernel, that was installed on that machine (sca) but is not elsewhere, but
even after backing that patch out and rebooting the machine, I still have
the same problem.

Here is what happens:

sca# id
uid=0(root) gid=0(root)
sca# cd /net/zion/data/offsite
bash: cd: /net/zion/data/offsite: Permission denied

and then, there is a fresh message in /var/adm/messages stating

Apr 28 12:41:47 sca nfs: [ID 435675 kern.warning] WARNING: NFS server initial call to zion failed: Not owner
Apr 28 12:41:47 sca automountd[329]: [ID 834250 daemon.error] Mount of zion:/data/offsite on /net/zion/data/offsite: Not owner
Apr 28 12:41:48 sca nfs: [ID 435675 kern.warning] WARNING: NFS server initial call to zion failed: Not owner
Apr 28 12:41:48 sca automountd[329]: [ID 834250 daemon.error] Mount of zion:/data/offsite on /net/zion/data/offsite: Not owner

Linux machine in question runs FC2 with kernel 2.6.10-1.771_FC2smp if that
matters, but I am pretty sure it doesn't as there are other Solaris 10
machines that can access that directory without problems.

Any ideas?

Thanks and bye, Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!

2. Gentus distro for ABIT BP6

3. NFS timeouts (Solaris 9 and Solaris 10)

4. Help with booting mandrake7

5. Jumpstart solaris 10 b69 and solaris 10 b72 on an Ultra 30

6. bankduta.co.id is a known hacker's origin. Please block it!!!!!

7. Live upgrade failure: Solaris 10 -> Solaris 10 update 1.

8. Red Hat 7.0 Beta

9. lsof 4.70D for Solaris 10 [was Re: Lsof on Solaris 10 x86?]

10. Solaris 10 -- Where to get gcc (or other compiler) built on Solaris 10?

11. NFS server on Solaris 10

12. Solaris 10 NFS

13. NFS solaris 10 "Stopping because all processes in service exited"