mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Dmitry Torokhov <dtor@vmware.com>
Cc: Bryan Schumaker <bjschuma@netapp.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: Re: 2.6.39-rc1 regression: NFS - unable to mount some shares (bisected)
Date: Thu, 31 Mar 2011 09:23:38 -0700	[thread overview]
Message-ID: <20110331162338.GA32296@core.coreip.homeip.net> (raw)
In-Reply-To: <8A85A9B4-D801-476F-B280-CE2B1D04277B@vmware.com>

Hi Bryan,

On Wed, Mar 30, 2011 at 03:31:44PM -0700, Dmitry Torokhov wrote:
> Hi Bryan,
> 
> It is actually one of autofs + NIS, mounts that is failing.
> 

Some more data about NFS problemi I am seeing. With an older kernel I
get:

[dtor@dtor-d630 ~]$ sudo mount -v build-toolchain:/toolchain /mnt/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Mar 31 09:17:38 2011
mount.nfs: trying text-based options 'vers=4,addr=10.17.52.98,clientaddr=10.20.94.47'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'addr=10.17.52.98'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.17.52.98 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.17.52.98 prog 100005 vers 3 prot UDP port 693
build-toolchain:/toolchain on /mnt type nfs (rw)

The failing kernel does it like this:

[dtor@dtor-ws ~]$ sudo mount -v build-toolchain:/toolchain /mnt
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Mar 31 09:14:22 2011
mount.nfs: trying text-based options 'vers=4,addr=10.17.52.98,clientaddr=10.20.94.123'
mount.nfs: mount(2): Resource temporarily unavailable
mount.nfs: Resource temporarily unavailable

And I can mount it successfully if I explicitly request V3:

[dtor@dtor-ws ~]$ sudo mount -v -o nfsvers=3 build-toolchain:/toolchain /mnt/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Mar 31 09:22:57 2011
mount.nfs: trying text-based options 'nfsvers=3,addr=10.17.52.98'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.17.52.98 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.17.52.98 prog 100005 vers 3 prot UDP port 693
build-toolchain:/toolchain on /mnt type nfs (rw,nfsvers=3)

The mounts that succeed automatically with the newer kernel do like
this:

[dtor@dtor-ws ~]$ sudo mount -v pa-home:/home2 /mnt/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Mar 31 09:20:01 2011
mount.nfs: trying text-based options 'vers=4,addr=10.17.4.25,clientaddr=10.20.94.123'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=10.17.4.25'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.17.4.25 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.17.4.25 prog 100005 vers 3 prot UDP port 1234
pa-home:/home2 on /mnt type nfs (rw)

I am not sure why in failing case we are seeing "resource temporarily
unavailable" instead of "protocol not supported".

Thanks.

-- 
Dmitry

  reply	other threads:[~2011-03-31 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 22:31 Dmitry Torokhov
2011-03-31 16:23 ` Dmitry Torokhov [this message]
2011-03-31 16:50   ` Dmitry Torokhov
2011-03-31 17:15     ` Bryan Schumaker
2011-03-31 17:19       ` Dmitry Torokhov
2011-03-31 18:53         ` Bryan Schumaker
2011-03-31 22:11           ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2011-03-30 20:38 Dmitry Torokhov
2011-03-30 21:03 ` Bryan Schumaker

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=20110331162338.GA32296@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=bjschuma@netapp.com \
    --cc=dtor@vmware.com \
    --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®