Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2010 20:06:47 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Markus Gebert <markus.gebert@hostpoint.ch>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFS problem: file doesn't appear in file listing,	but can be accessed directly
Message-ID:  <163511110.410136.1281226007565.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <E60737BB-BEE3-4D77-A44A-FD886679ECF6@hostpoint.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 07.08.2010, at 02:35, Rick Macklem wrote:
> 
> I agree, this must be some kind of server issue then. Still, I wonder
> why the solaris client didn't show the problem...
> 
> 
2 things:
1 - the solaris client uses ReaddirPlus and not Readdir RPCs by
    default (I can't remember if that default can be overridden?).
2 - different size requests. The Readdir RPC request specifies the
    maximum size of a reply (including all XDR) and ReaddirPlus
    both that and a maximum size for the directory information
    (which is not defined by the RFC, so there is confusion over
     what that size actually is a?).
    When the solaris client specifies a different maximum sizes,
    that probably avoids the bug. (Since most "ls" listings for
    directories work, the bug is probably a miscalculation of
    this limit that results in the entry being missed, but that's
    just a guess??)

rick
ps: I don't recall the previous emails mentioning that the "ls"
    was ok for a solaris client.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?163511110.410136.1281226007565.JavaMail.root>