My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

autofs (automount) is not mounting

This document (7008897) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 11

Situation

Automounter is not mounting file systems even though the syntax in the map files has been configured correctly.  For example:
 
auto.master syntax is acceptable:
/mountpoint  /etc/mount.map  --timeout 600
 
In turn, /etc/mount.map contains:
dir1  -fstype=nfs,rw,nosuid,soft  server:/export
 
Automountd (autofs) has been started successfully.  However, when a user enters the /mountpoint directory, there is no "dir1" present, and nothing has been mounted.

Resolution

For normal map files (such as mount.map in the example above), insure that the file does not have execute permissions set.  When automount see an executable map file, it assumes it is a script and attempts to execute it.  Then, it would use the output of that script to determine the map.  However, a normal map file has the map defined already, and needs to be read, not executed.
 
Conversely, if the map file is indeed a script designed to build maps on the fly, it must be executable or automount will not use it correctly.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7008897
  • Creation Date:24-JUN-11
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center