Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-27-2012, 02:39 PM   #1
LQ Newbie
Registered: Jul 2012
Posts: 12

Rep: Reputation: Disabled
RHEL 6 autofs configuration

I have looked in other posts and the information on setting up autofs has been sketchy.
What I have is:

1 host RHEL 6 box
2 virt servers, with basic install (on isolated netw)

basically trying to setup autofs on one to test between the two virtual machines.
Trying to configure based on RHEL 6 training class and from the M. Jang RHEL 6 study guide book...information doesnt seem complete from the books, and would like to figure out, step by step, how to configure autofs

I know this should be pretty easy to do...but documentation from training books and study guide is a little confusing.

Any help would be appreciated
Old 12-28-2012, 01:00 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,915

Rep: Reputation: Disabled
This is RHEL 6 so you did buy the license
that means you have access to the red hat knowledge base

log into the red hat web site using your RHN account credentials
and search for "autofs setup rhel 6"
Old 12-28-2012, 09:52 AM   #3
LQ Newbie
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Documentation not available without a subscription...

any info that comes up with a search for how to set up autofs says you have to have a subscription to I have not been able to see any info on how to setup autofs
Old 12-28-2012, 12:20 PM   #4
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,915

Rep: Reputation: Disabled
to use red hat RHEL6 you must have the required , paid for , support contract / license
for the desktop that is $49 to $ 299 per year

for the server - $349 to over $8600 per year

buy the required license .
install one of the free rebuilds
ScientificLinux 6.3

but the rhel documentation is free for all to read

However it will tel you to use "yum" to install needed things
And you can only do that if your RHEL install is licensed AND registered
( to register there is a handy desktop icon to click on -- but you have to be connected to the outside world )

I am running Scientific Linuc 6.3 and partitions auto mount (by default )
also you could see the CentOS wiki
and -- for samba

and the centOS docs ( really the rhel docs repackaged and stop at cent5 )

or to connect to a local machine on a lan ( not facing the outside world)
use fstab

also have you read the "man"( manual ) page ?
 man autofs

Last edited by John VV; 12-28-2012 at 12:38 PM.
Old 12-28-2012, 12:45 PM   #5
LQ Newbie
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Am using the RHEL 6 DVD provided from RedHat class...

and am just trying to setup/learn autofs as was setup from the class.

somewhat confused, going back to what has to be done on the server and client sides.
Training books mention the commands, but dont mention on what system to perform the tasks on, and what commands are shown, dont correspond to what the output the training books say should appear.

So I know it can be all that hard to setup the shares on a server and have the autofs automount them when accessed by a client. Just looking for some step by steps on what to do on each the server and client to properly setup autofs (auto.misc, auto.master configurations)
Old 02-13-2013, 09:15 AM   #6
LQ Newbie
Registered: Nov 2011
Location: Tampa Bay area, FL
Distribution: RHEL/CentOS, SLES, OpenSuSE, Ubuntu, Bodhi
Posts: 3

Rep: Reputation: 0
I was trying to do the same thing between some VMs. Most of the books with a section on automount and the man pages did not explain things clearly enough for me to know exactly what runs where. I tried a few tutorials that actually cause my VMs to no longer boot; I had to boot into rescue mode to fix them. The biggest confusion to be was the relationship between the entries in the auto.master and the entries in other auto.<mapname> files.

Finally, I found this simple article from TheHomeLab that tied it all together for me. I have further broken this down to two points:

1. on the server: export the directory to be automounted on the clients.
2. on the clients: edit the auto.master & auto.<mapname> files, and run autofs.
Old 02-14-2013, 02:23 AM   #7
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.7, Centos 5.10
Posts: 17,013

Rep: Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245Reputation: 2245
Good Howto section 6
1 members found this post helpful.


autofs, automount, network

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
autofs configuration ramadas88 Linux - Server 8 09-21-2010 05:50 AM
Autofs/Automount configuration problems Ccielogs Linux - Server 2 09-11-2009 03:21 AM
RHEL 4: Autofs direct maps Crazychip Red Hat 3 03-14-2007 06:54 PM
RHEL AS3 autofs / autofs4 Module Problem BBPS Linux - Software 3 05-18-2006 06:23 AM
How to configure AUTOFS in RHEL 4 sunnyanthony Linux - Networking 1 12-19-2005 05:24 PM

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration