Bug 529370
| Summary: | NFS mount options can be lost when using bg option | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Harshula Jayasuriya <harshula> | ||||||
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | yanfu,wang <yanwang> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 5.3 | CC: | Colin.Simpson, jlayton, jwest, pep, rwheeler, syeghiay, tao, tom, yugzhang | ||||||
| Target Milestone: | rc | Keywords: | Patch, ZStream | ||||||
| Target Release: | 5.5 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-01-13 23:49:03 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 502912, 614491, 644221, 644222 | ||||||||
| Attachments: |
|
||||||||
|
Description
Harshula Jayasuriya
2009-10-16 12:35:09 UTC
Created attachment 365046 [details]
nfs-utils-preserve-mount-options-when-backgrounding.patch:Patch to fix the problem for NFSv3
I tested the "bg" option with NFSv4. nfs4mount.c needs to be patched for it to properly support backgrounding. Created attachment 365358 [details]
nfs-utils-nfsv4-fix-backgrounding.patch: 2nd patch to address NFSv4.
Event posted on 2009-12-30 10:51 GMT by sprabhu We had a different variation of this problem reported. A quick check with the test packages confirm that the problem has been fixed. In fstab, if we nfs mount options are written as ‘rw,hard,intr,bg’, background mount does not work if NFS server is not available. However, if mount options are written as “rw,bg,hard,intr’, background mount works properly. Issue escalated to RHEL 5 Storage by: sprabhu. Internal Status set to 'Waiting on Engineering' This event sent from IssueTracker by sprabhu issue 356672 NFSv4 backgrounding doesn't work at all for me. Kernel: 2.6.18-194.3.1.el5xen (running as a guest under Xen) nfs-utils-1.0.9-44.el5 nfs-utils-lib-1.0.8-7.6.el5 /etc/fstab entry: files:/pub /pub nfs4 bg,intr 0 0 If the server is also in the middle of the boot process (it's another VM on the same machine) then I get this on the client: Jun 16 22:00:54 ha mount[1579]: mount to NFS server 'files' failed: System Error: Connection refused (giving up). It shouldn't give it up as the "bg" option is present. Hi Tamas, Can you please test the patched nfs-utils package: http://people.redhat.com/hjayasur/it343729/ Regards, Harshula Fixed in nfs-utils-1.0.9-46.el5 Pep noticed in BZ 614491, that only one of the two patches was added to the 5.5.z build. I just had a look at the 5.6 build, it has the same problem. I just updated nfs-utils-1.0.9-47.el5 to contain both patches The build is at: https://brewweb.devel.redhat.com/taskinfo?taskID=2645581 *** Bug 572293 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0125.html |