Red Hat Bugzilla – Full Text Bug Listing |
Summary: | nfs-utils enhancement: allow setting the grace period for NFSv4. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sandro Bonazzola <sandro.bonazzola> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | jlayton, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | nfs-utils-1.2.3-4.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-01-21 17:54:55 EST | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | ||||||
Attachments: |
|
nfs-utils-1.2.3-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/nfs-utils-1.2.3-4.fc14 Thanks, it seems to work for me. nfs-utils-1.2.3-4.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nfs-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nfs-utils-1.2.3-4.fc14 nfs-utils-1.2.3-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 470432 [details] patch to /etc/init.d/nfs Description of problem: There is no place where to set the nfs grace period. Actual results: In order to change the grace perriod you have to: # /etc/init.d/nfs stop # echo $NFSD_GRACE >/proc/fs/nfsd/nfsv4gracetime # /etc/init.d/nfs start Expected results: Just set $NFSD_GRACE in /etc/sysconfig/nfs. Additional info: I'll attach a patch implementing the proposed solution. in order to test it, just add in /etc/sysconfig/nfs: +# +# Set the Grace time, valid value are integers from 10 to 3599, default is 90. +NFSD_GRACE=90 changing the value of NFSD_GRACE as you need.