All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: linux-nfs@vger.kernel.org
Cc: it+linux-nfs@molgen.mpg.de
Subject: How to debug permission denied issues?
Date: Tue, 16 May 2017 13:06:12 +0200	[thread overview]
Message-ID: <bbe53cbb-4d90-1d89-089d-c157b45ea426@molgen.mpg.de> (raw)

Dear NFS folks,


With Linux 4.9.x there are issues, that the NFSD servers denies access 
to NFS mounts. Other clients can still connect fine. A restart of the 
*client* fixes the issue.

We believe that this is related to a restart of a NIS server, and that 
NFSD is now unable to authenticate the requests. Maybe some cache 
mismatch of some client identifications?

```
root:sigchld:~/# mount -v -t nfs hopp:/home/joey /mnt
mount.nfs: timeout set for Tue May 16 12:57:04 2017
mount.nfs: trying text-based options 
'vers=4,addr=141.14.25.186,clientaddr=141.14.16.120'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting hopp:/home/joey
```

Could you please point me to the right direction, how this issue can be 
debugged?

A first step would be to get debug messages from NFSD, why exactly the 
permission was denied to mount the directory.


Kind regards,

Paul

             reply	other threads:[~2017-05-16 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 11:06 Paul Menzel [this message]
2017-05-16 11:59 ` How to debug permission denied issues? Paul Menzel
2017-06-21 11:46 Paul Menzel

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=bbe53cbb-4d90-1d89-089d-c157b45ea426@molgen.mpg.de \
    --to=pmenzel@molgen.mpg.de \
    --cc=it+linux-nfs@molgen.mpg.de \
    --cc=linux-nfs@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 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.