Re: [gentoo-user] nfsv4 issues

2016-07-24 Thread Tom H
On Sun, Jul 24, 2016 at 3:37 AM, Adam Carter wrote: > I've added the directory, and after restarting syslog now has new entries; >> >> kernel: [912267.948883] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 >> state recovery directory >> kernel: NFSD: Using

Re: [gentoo-user] nfsv4 issues

2016-07-24 Thread Tom H
On Fri, Jul 22, 2016 at 8:22 PM, Adam Carter wrote: Does "/var/lib/nfs/v4recovery/" exist? >>> >>> No >>> # ls /var/lib/nfs/ >>> etab export-lock rmtab rpc_pipefs sm sm.bak state xtab >> >> IIRC, it's needed to avoid this delay. I thought that I'd saved a url >>

Re: [gentoo-user] nfsv4 issues

2016-07-24 Thread Adam Carter
I've added the directory, and after restarting syslog now has new entries; > kernel: [912267.948883] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 > state recovery directory > kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery > directory > > I will test shortly and report

Re: [gentoo-user] nfsv4 issues

2016-07-22 Thread Adam Carter
> >> 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 > >>

Re: [gentoo-user] nfsv4 issues

2016-07-22 Thread Tom H
On Wed, Jul 20, 2016 at 10:51 PM, Adam Carter wrote: >> 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 >>

Re: [gentoo-user] nfsv4 issues

2016-07-20 Thread Adam Carter
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,

Re: [gentoo-user] nfsv4 issues

2016-07-19 Thread Tom H
On Tue, Jul 19, 2016 at 12:49 AM, Adam Carter wrote: > > I'm trying to troubleshoot a newly setup nfs server, which, sometimes has a > 30 second pause (tcpdump shows its server waiting). > > # time touch /usr/portage/distfiles/testfile > > real0m30.088s > user

[gentoo-user] nfsv4 issues

2016-07-18 Thread Adam Carter
I'm trying to troubleshoot a newly setup nfs server, which, sometimes has a 30 second pause (tcpdump shows its server waiting). # time touch /usr/portage/distfiles/testfile real0m30.088s user0m0.000s sys 0m0.001s I cant see anything in the nfs server debugging so i want to strace