| Summary: | Unable to un-mount paths from my stackable fs using timeout option in autofs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | hkaur <harrmien> |
| Component: | autofs | Assignee: | Ian Kent <ikent> |
| Status: | CLOSED WONTFIX | QA Contact: | xiaoli feng <xifeng> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | eguan, ikent, xifeng, xzhou |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-06 10:42:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
hkaur
2016-08-31 06:58:18 UTC
(In reply to hkaur from comment #0) > I am trying to use autofs to automatically mount paths on my stackable fs > when they are accesssed and unmount them after the configured 'timeout' > limit set in auto.master config file. > I normally use my <custom> application to mount/unmount paths. > > My auto.master configuration file and my rule file look like below- > [root@localhost ~]# cat /etc/auto.master > /- /etc/auto.rule --timeout=60 > > [root@localhost ~]# cat /etc/auto.rule > /1 -fstype=<custom>fs :/1 > > Let's assume that /1 is the path that I am trying to mount on my stackable > fs. Looks like that can't work. In order to trigger mounts automount managed paths need to be either the root of or contained in an autofs file system. Otherwise the kernel won't be aware the path has been accessed and won't be able to call back to the user space daemon to a perform mount. In auto.rule you are mounting a direct mount trigger on path /1 so it covers the original mount at /1. So if it is accessed it will try and mount itself. That's probably enough to hang the mount. Ian Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/ |