LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   RHEL 6 autofs configuration (https://www.linuxquestions.org/questions/linux-general-1/rhel-6-autofs-configuration-4175443152/)

aalinare 12-27-2012 01:39 PM

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

John VV 12-28-2012 12:00 AM

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"

aalinare 12-28-2012 08:52 AM

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

John VV 12-28-2012 11:20 AM

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

aalinare 12-28-2012 11:45 AM

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)

blackwatermoor 02-13-2013 08:15 AM

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.

chrism01 02-14-2013 01:23 AM

Good Howto section 6 http://www.linuxhomenetworking.com/w...FS_Automounter


All times are GMT -5. The time now is 12:03 AM.