Bug 137998
Summary: | autofs removes leading path components of /net mounts on timeout | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | David Lehman <dlehman> | ||||
Component: | kernel | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | cfeist, jmoyer, k.georgiou, petrides, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHSA-2006-0144 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-03-15 15:45:44 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: | 168424 | ||||||
Attachments: |
|
Description
David Lehman
2004-11-03 18:03:48 UTC
Does Solaris also keep the filesystem mounted in this case? No. I see the unmount request in the server's logs. It looks like Solaris keeps the leading directory components of the exported paths around whether or not anyone's in the path, but I'm not sure for how long. I messed around some more - here's what I saw: I exported gonzo:/mnt/iso, then listed /net/gonzo/mnt/iso. I waited until I saw the unmount request after the timeout (I set it to 60 sec), then listed /net and still saw 'gonzo'. I listed /net/gonzo without seeing an exports request in gonzo's log and saw 'mnt'. When I list /net/gonzo/mnt I see an exports request in gonzo's log and I see 'iso' as the output of ls. I list /net again six minutes later and it's empty. So it looks like there's a seperate timeout for removing a /net mount's parent dir. Any update on this one? Is it something Chris can take a look at? I was able to replicate the bug on my system and it appears to require a kernel patch to fix. I'm currently investigating what will be required to prevent the unmount from happening. Putting on blocker list for U6. Created attachment 114855 [details]
Don't expire /net mounts when scaffolding directories have references
This is a backported patch of the upstream fix for this problem. I have tested
it, and it resolves the issue in my environment.
Changing component to "kernel". A patch to fix this problem has been proposed for internal review. A fix for this problem has just been committed to the RHEL3 U7 patch pool this evening (in kernel version 2.4.21-37.4.EL). 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-2006-0144.html |