Re: Linux NFS client problems with SGI server

Peter Benie (pjb1008@cam.ac.uk)
Fri, 16 Jul 1999 17:49:14 +0100


Erik Mouw writes ("Re: Linux NFS client problems with SGI server"):
> On Fri, 16 Jul 1999 13:59:21 +0100 (GMT), Riley Williams wrote:
> > Erik Mouw writes:
> > > The exports file on the Origin (server1) looks like:
> >
> > > /usr/it -access=clients:friends
> > > /usr/it/images -access=clients:friends,nohide
> > > /home -access=clients:friends

> The strange thing is that "ls /usr/it/packages" doesn't go wrong. Maybe
> the "nohide" option in the server's exports file confuses Linux?

This is precisely the problem. Think for a while about what nohide
does, and how fattr.fileid interacts with inode numbers. nohide is
broken for exactly the same reason as unfsd is when used to export
multiple filesystems with one NFS export.

> > I also seem to remember a thread here on linux-kernel about six months
> > back on this subject, where it was stated that the size options needed
> > to be set to at least 8192 for some reason. However, I can't remember
> > what the reason was.
>
> The nfs(5) manpage says it is for performance reasons.

It's to do with how NFS write requests interact with the server's
filesystem block size. XFS uses 4K so you should set the NFS block
size to a low multiple of 4K for good performance.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/