From: Peter Staubach Subject: Re: [PATCH] NFS: Sign Extentions with Tru64 FSIDs. Date: Mon, 05 Mar 2007 16:46:59 -0500 Message-ID: <45EC8FD3.4010809@redhat.com> References: <45EC7F0F.4090600@RedHat.com> <1173130678.6315.7.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "'nfs@lists.sourceforge.net'" , Steve Dickson To: Trond Myklebust Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HOL1X-0005kE-26 for nfs@lists.sourceforge.net; Mon, 05 Mar 2007 13:47:17 -0800 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HOL1Q-0001dF-SA for nfs@lists.sourceforge.net; Mon, 05 Mar 2007 13:47:11 -0800 In-Reply-To: <1173130678.6315.7.camel@heimdal.trondhjem.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net Trond Myklebust wrote: > On Mon, 2007-03-05 at 15:35 -0500, Steve Dickson wrote: > >> Over the last new months, I've been getting beaten up >> about the fact the Fedora Core clients (FC5 and FC6) >> no loner works with Tru64 server. The problem is >> accessing mounted directories would fail with -ENOTDIR. >> Similar to: >> >> # ls /mnt/alpha/doc >> /bin/ls: cannot open directory /mnt/alpha/doc: Not a directory >> >> After months of floundering around looking at ethereal >> traces and such, I actually was able to trace down a >> Tru64 server to test against (thanks you very much HP!). >> >> Low and behold... it turns not to be a Linux client >> bug at all... but only Linux clients failed because >> they seem to actually care what fsids are being returned. >> >> The problem is this: Tru64 server exporting Advfs fileystems >> return sign extend fsids in most but not all NFS procedures. >> >> Meaning most fattrs returned by the server have a fsid of: >> fsid: 0xffffffff8419f8d5 >> >> but in some procs (like READDIRPLUS) the fsid is >> fsid: 0x000000008419f8d5 >> >> Which is _clearly_ wrong and does not happen with UFS >> exports on the same server. >> >> So its my contention that Tru64 has been broken forever >> since only Linux clients fail, which started due to the >> following patch that went into 2.6.12: >> > > Sorry, but I really do not like the idea of fixing server bugs in the > Linux client, and particularly not in generic code like this. > > As far as I understood, this was a direct consequence of using the > 32bitclients export option to work around the old issues with 64-bit > cookies on readdir. Is there really a need for this option now that > we've ensured that readdir cookies are no longer exported to userland? Just to be clear, you are proposing to remove the "32bitclients" export option from the export options on the deployed Tru64 server? A potential issue that I could see would be if there are other NFS clients, who do need that export option used in order to interoperate with this server. It is an ickey idea and the right way is to fix the Tru64 server, but given that we probably can't get it fixed, this seems relatively low risk. It also wouldn't be the first time (or last probably :-) ) that we've worked around a bug in another implementation that should rightly have been fixed in that other implementation. :-) ps ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs