how to automount on RedHat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get automounts to work on my RHEL 4 machine. When I start the autofs service I get these errors. How do I get it so it automounts my directories from my NIS domain? I don't want to have to put each mount in the /etc/fstab file if possible. I would like autofs to handle it.

host1# service autofs reload
automount not running

host1# service autofs start
Starting automount: do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable

No Mountpoints Defined                                     [  OK  ]

[root# more /etc/auto.master
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/misc  /etc/auto.misc
#/net   /etc/auto.net


# service autofs status
Configured Mount Points:
------------------------
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable
do_ypcall: clnt_call: RPC: Procedure unavailable



Active Mount Points:
--------------------

I have another machine RHEL 3 that automounts work on. Is it reading a certain file on the machine to get this info? /etc/mtab shows all these mounts but how does it get the info in there?

host2 # service autofs reload
Checking for changes to /etc/auto.master ....
Reload map /usr/sbin/automount --timeout=60 /us yp auto.home -rw,soft
Reload map /usr/sbin/automount --timeout=60 /erd/modeler yp auto_modeler -rw,soft Reload map /usr/sbin/automount --timeout=60 /erd/share yp auto_share -rw,hard Reload map /usr/sbin/automount --timeout=60 /erd/statistic yp auto_statistic -rw,soft Reload map /usr/sbin/automount --timeout=60 /erd/admin yp auto_admin -rw,soft
Reload map /usr/sbin/automount --timeout=60 /erd/www yp auto_www -rw,soft
Reload map /usr/sbin/automount --timeout=60 /erd/cad yp auto_cad -rw,soft
Reload map /usr/sbin/automount --timeout=60 /apps yp auto_apps -rw,soft
Reload map /usr/sbin/automount --timeout=60 /home yp auto.home -rw,soft
Reload map /usr/sbin/automount --timeout=60 /erd/ingres yp auto_ingres -rw,soft
Reload map /usr/sbin/automount --timeout=60 /erd/logs yp auto_logs -rw,soft
Reload map /usr/sbin/automount --timeout=60 /eta yp auto_eta
Reload map /usr/sbin/automount --timeout=60 /erd/voc yp auto_voc
Reload map /usr/sbin/automount --timeout=60 /erd/oracle yp auto_oracle
Reload map /usr/sbin/automount --timeout=60 /erd/hydrogeo yp auto_hydrogeo
Reload map /usr/sbin/automount --timeout=60 /erd/data yp auto_data
Reload map /usr/sbin/automount --timeout=60 /erd/s200hydrogeo yp auto_s200hydrogeo Reload map /usr/sbin/automount --timeout=60 /erd/s300hydrogeo yp auto_s300hydrogeo
Start /usr/sbin/automount --timeout=60 /ingdata yp auto_ingdata -rw,soft
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /epd yp auto_epd -rw,soft
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /erd/doc yp auto_doc -rw,soft
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /erd/test yp auto_test
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /seismic yp auto_seismic
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /erd/phoenix yp auto_phoenix
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /erd/gis yp auto_gis -rw,soft
failed to load map, exiting
Start /usr/sbin/automount --timeout=60 /erd/martini yp auto_martini -rw,soft
failed to load map, exiting

host 2# more /etc/auto.master
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/misc  /etc/auto.misc
#/net   /etc/auto.net
#

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux