From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Pascal Schmidt <der.eremit@email.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [NFS] attempt to use V1 mount protocol on V3 server
Date: Thu, 4 Sep 2003 00:37:22 -0400 [thread overview]
Message-ID: <16214.49538.216630.336724@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.44.0309040433540.8732-100000@neptune.local>
>>>>> " " == Pascal Schmidt <der.eremit@email.de> writes:
> Out of interest, how does this work? Not obvious to me since an
> NFSv3 filehandle is too big for an NFSv2 server.
Most are not. An NFSv3 filehandle has a variable size (as opposed to
NFSv2 which are fixed size), and so most NFS servers use the same
filehandle for NFSv2 and NFSv3.
Note: The reason for this mess is that the early Linux-2.2.x knfsd
servers were NFSv2 only. Unfortunately, the associated kmountd daemon
would advertise that it did NFSv3 too, in which case it just returned
the same NFSv2 filehandles. By retrying the GETATTR call in the NFSv3
client, and automatically switching to NFSv2 we were able to catch
these buggy setups.
Note: The fact that we are now stuck with a schizophrenic NFSv3 client
is one of the many reasons why I am now *very* wary of trying to work
around server bugs by making fixes to the client code.
Cheers,
Trond
next prev parent reply other threads:[~2003-09-04 4:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rO94.822.25@gated-at.bofh.it>
[not found] ` <rPop.1vp.13@gated-at.bofh.it>
2003-09-04 2:08 ` Pascal Schmidt
2003-09-04 2:17 ` Trond Myklebust
2003-09-04 2:40 ` Pascal Schmidt
2003-09-04 4:37 ` Trond Myklebust [this message]
2003-09-04 14:27 ` Pascal Schmidt
2003-09-04 15:24 ` Trond Myklebust
2003-09-03 22:13 Pascal Schmidt
2003-09-03 23:33 ` Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16214.49538.216630.336724@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=der.eremit@email.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®