From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Pascal Schmidt <der.eremit@email.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
linux-kernel@vger.kernel.org
Subject: Re: [NFS] attempt to use V1 mount protocol on V3 server
Date: Wed, 3 Sep 2003 22:17:59 -0400 [thread overview]
Message-ID: <16214.41175.580602.671154@charged.uio.no> (raw)
In-Reply-To: <E19ujXl-0002Eb-00@neptune.local>
>>>>> " " == Pascal Schmidt <der.eremit@email.de> writes:
> 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.
No. That won't make any difference. The kernel never talks to the
mountd.
It's being handed a bogus filehandle by the userland mount command
(which gets it from mountd). When it sends the initial NFSv3 GETATTR
call to the nfsd, and gets rejected, it just retries the same GETATTR
call as an NFSv2 call.
> 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'll check what's happening. AFAICS, the NFS layer should not really
care, but it will pass some funny values back to the VFS, and this
might be screwing something up...
Cheers,
Trond
next prev parent reply other threads:[~2003-09-04 2:19 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 [this message]
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=16214.41175.580602.671154@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®