LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-27-2012, 02:39 PM   #1
aalinare
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
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
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
https://access.redhat.com/search/quick?
and search for "autofs setup rhel 6"
 
Old 12-28-2012, 09:52 AM   #3
aalinare
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 view...so I have not been able to see any info on how to setup autofs
 
Old 12-28-2012, 12:20 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
to use red hat RHEL6 you must have the required , paid for , support contract / license
https://www.redhat.com/apps/store/desktop/
for the desktop that is $49 to $ 299 per year

for the server - $349 to over $8600 per year
https://www.redhat.com/wapps/store/catalog.html

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


but the rhel documentation is free for all to read
https://access.redhat.com/knowledge/...erprise_Linux/

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
http://wiki.centos.org/HowTos/Backup...91dddd2260b4cf
and -- for samba
http://wiki.centos.org/TipsAndTricks/WindowsShares

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 ?
Code:
 man autofs
http://www.centos.org/docs

Last edited by John VV; 12-28-2012 at 12:38 PM.
 
Old 12-28-2012, 12:45 PM   #5
aalinare
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
blackwatermoor
LQ Newbie
 
Registered: Nov 2011
Location: Tampa Bay area, FL
Distribution: RHEL/CentOS, SLES, OpenSuSE, Ubuntu, Bodhi
Posts: 2

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
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Good Howto section 6 http://www.linuxhomenetworking.com/w...FS_Automounter
 
1 members found this post helpful.
  


Reply

Tags
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 04:11 PM.

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