public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Adam Carter <adamcarter3@gmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] nfsv4 issues
Date: Thu, 21 Jul 2016 12:51:07 +1000	[thread overview]
Message-ID: <CAC=wYCEU_jn=DOrvnrvn-f+bQPBvCLAup-zV36h6ZWrzz=SFBA@mail.gmail.com> (raw)
In-Reply-To: <CAOdo=SxbwCHp3qg9=5+ZPt7PWBLf8z2tnrqxJ8BNW7J6RV-pig@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

Are the nfsd versions that you're setting being respected? You can

> check with "rpcinfo -s" or "cat /proc/fs/nfsd/versions".
>

Yep;
 # cat /proc/fs/nfsd/versions
-2 +3 +4 +4.1 +4.2


> You can change the number of threads on the fly with "echo 1 >
> /proc/fs/nfsd/threads".
>

That works too, but then;
# ps -ef | grep nfsd
root      1454  1426  0 12:47 pts/0    00:00:00 grep --colour=auto nfsd
root     23546     2  0 Jul19 ?        00:00:00 [nfsd4_callbacks]
root     23548     2  0 Jul19 ?        00:00:00 [nfsd]
# strace -p 23548
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted


> I don't use systemd on Gentoo but for the nfs-utils upstream-shipped
> systemd units that I think that Gentoo's using, you have to re-run
> nfs-config.service - or run the script that it calls - in order to
> update the "/run/sysconfig/nfs-utils" environment file that's sourced
> by the nfs-server.service unit.
>

In /usr/lib/systemd/system/nfs-server.service
[Service]
EnvironmentFile=/etc/conf.d/nfs

Does "/var/lib/nfs/v4recovery/" exist?
>
>
No
 # ls /var/lib/nfs/
etab  export-lock  rmtab  rpc_pipefs  sm  sm.bak  state  xtab

Does adding the client to "/etc/hosts" - or to your reverse dns zone -
> eliminate the delay?
>
> DNS is setup and both client and server can forward and reverse lookup
each other.

[-- Attachment #2: Type: text/html, Size: 2451 bytes --]

  reply	other threads:[~2016-07-21  2:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19  4:49 [gentoo-user] nfsv4 issues Adam Carter
2016-07-19 23:34 ` Tom H
2016-07-21  2:51   ` Adam Carter [this message]
2016-07-22 12:46     ` Tom H
2016-07-23  0:22       ` Adam Carter
2016-07-24  7:37         ` Adam Carter
2016-07-24 16:47           ` Tom H
2016-07-24 16:21         ` Tom H

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='CAC=wYCEU_jn=DOrvnrvn-f+bQPBvCLAup-zV36h6ZWrzz=SFBA@mail.gmail.com' \
    --to=adamcarter3@gmail.com \
    --cc=gentoo-user@lists.gentoo.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