Hi To make auto mount work first we have to configure to "/etc/auto.master" It is like this /autodir /etc/auto.misc This means that the when we start the auto mount daemon it begins to monitor the directory "/autodir" second we have to create the directory on which we are going to mount and that should be under the /autodir directory third configure the "/etc/auto.misc" like this /autodir/mountdir -rw,soft,intr nfsserver:/nfsshare then start the autofs daemon "service autofs start" On 31/10/06, Dave Martini <martini@xxxxxxxxxxxxxxxxxx> wrote:
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
-- Thanks and Regards ------------------------------ N S Vikram, Asso. IT Engr. CMC LTD, Chennai. Mobile : 09444357170 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list