Bug 169299
| Summary: | umount -l should work on hung NFS mounts with cached data | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Brad Hinson <bhinson> | ||||||
| Component: | util-linux | Assignee: | Amit Gud <agud> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.0 | CC: | ebenes, k.georgiou, kzak, steved | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | RHSA-2007-0235 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2007-05-01 17:17:09 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: | 176344, 198694, 235877 | ||||||||
| Attachments: |
|
||||||||
|
Description
Brad Hinson
2005-09-26 18:27:26 UTC
Created attachment 133014 [details]
nfs-utils patch
I've incorporated the changes to my patch against latest nfs-utils, which can
be found at git://linux-nfs.org/nfs-utils
Created attachment 133149 [details] lazy umount fix1 Patch in comment #6 is for util-linux. My patch in comment #11 is for nfs-utils which is a complete patch that hasn't made it to the upstream + the changes required for this bug fix. Alternatively you can use the attached patch which is a fix for this bug on top of my patch for nfs-utils-1.0.9. Created attachment 133403 [details] util-linux fix The bug needs fixing at two places in this case. 1. nfs-utils - if its is compiled with --enable-mount 2. util-linux - if nfs-utils is NOT compiled with --enable-mount --enable-mount configure option in nfs-utils generates mount.nfs binary which overrides all the NFS mount/umount operations which otherwise are performed by util-linux. Latest patches to nfs-utils in rawhide add this option, which has also been sent upstream. Fix 1 (for nfs-utils) is in comment #13. Attached patch, which is actually a port of patch in comment #6 to latest util-linux, is fix 2 (for util-linux). fixed in util-linux-2.12a-16.EL4.21 This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This fix is available in the latest RHEL-4.5 Beta. If the customer is in a position to test the beta, please ask for testing feedback. Thanks. 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 the 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/RHSA-2007-0235.html |