[KLUG Members] Re: Odd NFS Mount problem -- definately check the HOWTO out

Bryan J. Smith members@kalamazoolinux.org
16 Jan 2002 09:38:53 -0500


On Wed, 2002-01-16 at 08:22, Adam Williams wrote:
> Well,  I oops-ed and restated nfs on the client.  Remounted and both
> mounted fine!  Then I realized what I had done and said to myself "How
> the &&@) did that help anything?".  But it works now,  I unmount and
> mounted each NFS volumes a couple of times to be sure.  This worked on
> two clients,  both of which are NFS servers themselves (not the same
> volumes of course).

Have you considered using the automounter (autofs)?  Makes life much
easier, especially if you push them out to clients with NIS (or a
similar LDAP implementation/workaround).

> On the two clients and the one server they are.  All the other ones are
> diffrent versions and work great.  Head scratcher.

As long as you are running 2.2.18+ (or RedHat's 2.2.14+), the same
nfs-utils version across all Linux nodes is _highly_recommened_.  I
believe all your RedHat 7.x boxen fall into this category.

See this section of the NFS HOWTO:
http://nfs.sourceforge.net/nfs-howto/intro.html#SWPREREQ

> Well,  I'd love for that to be true.  But it isn't going to happen for
> various ugly reasons.

Understood.  As long as you're 2.2.18+, you should be fine.  Still
recommend upgrading those nfs-utils though.

> Yep, I know about that.  All the 7.0 boxes are standard RH kernels,  but
> they all work fine.  And the first thing I tried (see #1) seems to have
> fixed the problem.  

I don't like the "oops, oh, now it works" answer.  ;-P  If it happened
before, it _could_ happen again.  I always try to find out why.

> AIX.  It really wants a 16KB block size.  So I just tend to do that. 
> Actually it is probably more the funky app than AIX itself, but I've got
> to play along.

I was just reading about some Linux kernels not liking greater than 8KB:
http://nfs.sourceforge.net/nfs-howto/performance.html#BLOCKSIZES

The entire "performance" section of the HOWTO is actually a good read,
even for non-performance issues -- e.g., number of daemons and /proc
hacks for memory reservation:
http://nfs.sourceforge.net/nfs-howto/performance.html

BTW, the AIX section of the HOWTO is here:
http://nfs.sourceforge.net/nfs-howto/interop.html#AIX

And even as a "semi-veteran" of NFS installations, I still use the
"Troubleshooting" section step-by-step when things "muck up."  I forget
things sometimes and it is always a "good check":
http://nfs.sourceforge.net/nfs-howto/troubleshooting.html

-- Bryan

-- 
Bryan J. Smith, Engineer          mailto:b.j.smith@ieee.org
AbsoluteValue Systems, Inc.       http://www.linux-wlan.org
SmithConcepts, Inc.            http://www.SmithConcepts.com