From: Pascal Schmidt <der.eremit@email.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [NFS] attempt to use V1 mount protocol on V3 server
Date: Thu, 4 Sep 2003 04:08:17 +0200 [thread overview]
Message-ID: <E19ujXl-0002Eb-00@neptune.local> (raw)
In-Reply-To: <rPop.1vp.13@gated-at.bofh.it>
On Thu, 04 Sep 2003 01:40:13 +0200, you wrote in linux.kernel:
> a) Is a feature of the 'mount' program. An NFS server should in any
> case not rely on the umount being sent: a client may have crashed
> or been firewalled, or whatever...
Okay. I'm not relying on it, anyway. I had just expected to get a V3
umount call and not a V1 umount call. I could understand the V1 as a
fallback. Seems I have to live with user-space tools calling me for
protocol versions I didn't even register with the portmapper.
> b) Is a kernel feature which will never trigger if you are passing a
> correct filehandle from your mountd.
That's assuming all NFSv3 servers do NFSv2 also. I don't. In this case
the bug was in my nfsd who was not recognizing the filehandle coming in
via GETATTR as correct. ;)
So I'll have to live with registering for V1 also and handling umount
there and rejecting mount with an error. Oh well.
Thanks for the explanations!
Oh, BTW, that reminds me: the 2.6.0-test NFS client does not like
FSSTAT returning NFS3ERR_NOTSUPP. When I started coding, I got a hard
lockup of my system due to that, had to press the reset button, not
even Alt-SysRq wanted to work. I couldn't capture the output and
shutting down the system didn't work, plus I could not start any new
processes. Sure, that was a buggy server, but should that lock up
the kernel? Known problem?
I can probably reproduce that since changing my code to return NOTSUPP
again would be easy, if you are interested.
--
Ciao,
Pascal
next parent reply other threads:[~2003-09-04 2:08 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 [this message]
2003-09-04 2:17 ` Trond Myklebust
2003-09-04 2:40 ` Pascal Schmidt
2003-09-04 4:37 ` Trond Myklebust
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=E19ujXl-0002Eb-00@neptune.local \
--to=der.eremit@email.de \
--cc=linux-kernel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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
Powered by JetHome