All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Tom Haynes <tdh@excfb.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Debugging mount failure with netgroup
Date: Mon, 7 Feb 2011 16:19:17 -0500	[thread overview]
Message-ID: <20110207211917.GA3853@fieldses.org> (raw)
In-Reply-To: <20110207205306.GA13731@adept.internal.excfb.com>

On Mon, Feb 07, 2011 at 02:53:06PM -0600, Tom Haynes wrote:
> I did google and did not find much on netgroups - but I did find
> a bunch on "unmatched host".
> 
> It seems to be black magic from some of the answers.
> 
> And I agree:
> 
> 1) Modified the export:
> [root@adept /]# more /etc/exports 
> /fooper   @adeptya(rw,insecure,no_root_squash,sync)

So it was probably the "insecure"?

Are we returning the right error to the mount client in that case?

And I suppose the logged error should be more helpful.  I'm not really
sure mountd should be logging every mount failure by default, but if you
request it, it should at be able to tell you the reason for the failure.

--b.

> 
> 2) Did other mumbo-jumbo
> 
> 3) Really, really did not want to reboot.
> 
> 4) service nfs stop ; exportfs ; service nfs start
> 
> And that last one worked!
> 
> Feb  7 14:44:31 adept mountd[13712]: Received MNT3(/fooper) request from 192.168.2.105
> Feb  7 14:44:31 adept mountd[13712]: authenticated mount request from wont.internal.excfb.com:972 for /fooper (/fooper)
> Feb  7 14:44:31 adept mountd[13712]: nfsd_fh: inbuf '@adeptya 7 \x0100060000000000a9a3be796f4c43878b99ea75025e5384'
> Feb  7 14:44:31 adept mountd[13712]: nfsd_fh: found 0x20da950 path /fooper
> 
> Thanks
> 
> > 
> > --b.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> -- 
> Tom Haynes
> ex-cfb

  reply	other threads:[~2011-02-07 21:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 19:56 Debugging mount failure with netgroup Tom Haynes
2011-02-07 20:12 ` J. Bruce Fields
2011-02-07 20:53   ` Tom Haynes
2011-02-07 21:19     ` J. Bruce Fields [this message]
2011-02-07 21:53       ` Tom Haynes
2011-02-07 21:59         ` J. Bruce Fields
2011-02-07 23:21           ` Tom Haynes
2011-02-09  0:23             ` J. Bruce Fields

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=20110207211917.GA3853@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tdh@excfb.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.