On Fri, Jul 22, 2016 at 8:22 PM, Adam Carter <adamcart...@gmail.com> 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 >> about this but I can't find it. >> >> Do you have a syslog message about "stable storage"? "man nfsdcltrack". > > There's no message about stable storage, but there's this; > kernel: [578030.628415] NFSD: the nfsdcld client tracking upcall will be > removed in 3.10. Please transition to using nfsdcltrack. It's from https://patchwork.kernel.org/patch/1730241/ > # which nfsdcltrack > which: no nfsdcltrack in > (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0:/usr/lib64/subversion/bin:/opt/vmware/bin) > # qlist nfs | grep nfsdcltrack > # It depends on the nfs-utils USE settings: # qlist -U nfs-utils net-fs/nfs-utils (libmount nfsdcld nfsidmap nfsv4 nfsv41) # qfile $(which nfsdcltrack) net-fs/nfs-utils (/sbin/nfsdcltrack) >> The openrc script has >> >> <begin> >> mkdir_nfsdirs() { >> local d >> for d in v4recovery v4root ; do >> d="/var/lib/nfs/${d}" >> [ ! -d "${d}" ] && mkdir -p "${d}" >> done >> } >> </end> >> >> but systemd doesn't have anything equivalent. On RHEL and Ubuntu, >> "/var/lib/nfs/v4recovery/" is created at installation time. Perhaps >> the Gentoo ebuild should do the same or should ship a >> "/usr/lib/tmpfiles.d/var-lib-nfs.conf" to create it at boot if it >> doesn't exist. > > 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 back - thanks! Good luck. You're welcome.