Bug 184368
Summary: | autofs mount lock failure due to nfs option bg | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Neuboeck <hawk> |
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | ikent |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-08 13:31:02 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: |
Description
Richard Neuboeck
2006-03-08 09:52:34 UTC
Specifying "bg" in the mount options for autofs is not supported. It will result in returning to the calling process (the one that triggered the mount) without having actually mounted the directory that was requested. This is broken. I'm closing this as NOTABUG. I'm also going to file another bug against autofs, requesting that the "bg" mount option be automatically ignored. In the mean time, please fix your maps. (In reply to comment #0) > Description of problem: > > After trying to mount an nfs share with the following options: -soft,intr,bg, > =8192,wsize=8192,nfsvers=3 from a host that is temporarily down automount > refuses any further automounting because it can not lock its lockfile. As Jeff points out the bg option is not supported for autofs and in my opinion is not recommeneded for NFS mounts. You will no doubt respond pointing out that if a mount blocks waiting for a down server then no other mounts can be made. This is a different question and there is an autofs configure option to disable the locking for mount calls. The locking was originally introduced because of corruption in /etc/mtab caused by a bug in mount(8). Looking at mount(8) in FC4 I believe that it has a patch to resolve this. The configure option is however not the default as we have not yet been able to verify correct operation of autofs without it's locking. Backgrounding of mounts is a specific concern. |