Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361473 - net-fs/nfs-utils: configurable NFSv4 lease time
Summary: net-fs/nfs-utils: configurable NFSv4 lease time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 13:51 UTC by John Feuerstein
Modified: 2011-04-06 22:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Feuerstein 2011-03-31 13:51:59 UTC
The package has no facility to change the NFSv4 lease time (grace period)
from its upstream default of 90 seconds. Suggest to add an entry in
/etc/conf.d/nfs to be able to change this.

This should be done directly after mounting /proc/fs/nfsd, as done by mount_nfsd() in /etc/init.d/nfs:

  echo $NFSV4LEASETIME > /proc/fs/nfsd/nfsv4leasetime


See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601335 for more information.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-04-06 22:10:23 UTC
i'm not hardcoding a list of files.  clearly no scalability there.  cvs now supports OPTS_NFSD="nfsv4leasetime=30 max_block_size=4096".

http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.initd?r1=1.23&r2=1.24
http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.confd?r1=1.12&r2=1.13