Larry Liu wrote:

> not aware how you configured your NIS server(s) and
> client. in my case, on client side, i deleted clients
> local auot.master, then automount works perfectly
> according to the way you configure your NIS server(s).

You shouldn't have to do this. This means that local machines can't have
local settings!
In my opinion:

According to the man page for autofs:

       autofs will consult a configuration file  /etc/auto.master
       (see  auto.master(5))  to find mount points on the system.
       For each of those mount points a automount(8)  process  is
       started with the appropriate parameters. You can check the
       active  mount  points  for  the   automounter   with   the
       /etc/init.d/autofs  status  command. After the auto.master
       configuration file is processed  the  autofs  script  will
       check  for  an  NIS  map with the same name. If such a map
       exists then that map will be processed in the same way  as
       the auto.master map. The NIS map will be processed last.




ed.


>
>
> good luck.
> --- George Sakhnovsky
> <[EMAIL PROTECTED]> wrote:
> > system:
> > redhat 6.2, kernel 2.2.16
> > Linux automount version 3.1.5
> > autofs-3.1.5
> >
> > problem:
> > seems like everything should be working fine -
> > however the automounts are
> > not performed. any ideas will be appreciated.
> >
> > ~
> > [root@popolare /etc]# mount
> > /dev/hda1 on / type ext2 (rw)
> > none on /proc type proc (rw)
> > none on /dev/pts type devpts (rw,gid=5,mode=620)
> > automount(pid370) on /mnt/floppy type autofs
> > (rw,fd=5,pgrp=370,minproto=2,maxproto=3)
> > automount(pid372) on /home type autofs
> > (rw,fd=5,pgrp=372,minproto=2,maxproto=3)
> > ~
> > [root@popolare /home]# ps awx | grep automount
> >   370 ?        S      0:00 /usr/sbin/automount
> > /mnt/floppy file
> > /etc/auto.floppy -timeout 60
> >   372 ?        S      0:00 /usr/sbin/automount /home
> > file /etc/auto.home
> > -timeout 60
> > ~
> > [root@popolare /home]# /etc/rc.d/init.d/autofs
> > status
> > Configured Mount Points:
> > ------------------------
> > /usr/sbin/automount /mnt/floppy file
> > /etc/auto.floppy -timeout 60
> > /usr/sbin/automount /home file /etc/auto.home
> > -timeout 60
> >
> > Active Mount Points:
> > --------------------
> > [root@popolare /home]#
> > ~
> > [root@popolare /]# ls -ld home
> > drwxr-xr-x    2 root     root            0 Jun 21
> > 10:33 home
> > [root@popolare /]# cd home
> > [root@popolare /home]# ls -l
> > total 0
> > [root@popolare /home]#
> > ~
> >
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages with Yahoo! Messenger.
> http://im.yahoo.com/

Reply via email to