hi 

why is grun exporting home2 to  wax and wax is exporting home to grun ?

> Wax's auto.master file contains other than comments:
> 
> # Sample auto.master file
> 
>    /home   /etc/auto.home

Make sure that /home is not the system /home or you'll lose
all the defaults stuff that came with teh distribution
        /home/{httpd,ftp,gopher}

you might consider /.home /etc/auto.home for your auto.master file

> The auto.home file is, missing comments:
> 
>    exdb   -rw,hard,intr  grun:/home2/exdb
> 
> In wax's nsswitch file there is:
> 
>         automount:      files nis
>
> Wax's export file has:
> /home  grun(rw)

so far so good...

> And I have included auto.home and auto.master in /var/yp/Makefile.
> 
> I can log in on wax as exdb and the /home/exdb exists and every
> thing is fine. However, while I can log into grun (kernel 2.0.36) as exdb, exdb
> home directory fails to mount -- and this is crux of my problem.
> 
> On grun:
> 
> # cat /proc/filesystems
>   ...
> nodev   autofs
> 
> # /sbin/lsmod
> Module         Pages    Used by
> autofs             2            1
> 
> # cat /etc/nsswitch.conf
>  ...
> automount:      nis

not sure about this entry

> # cat /etc/auto.master
> 
> +auto.master
> /home   auto.home --timeout 60

shouldn't that be /etc/auto.home in order to find the file ???

not sure that +auto.master is supported feature

> # cat /etc/auto.home
> +auto.home

not sure that +auto.master is supported feature

try using:

        home  -fstype=nfs   wax:/home

> # cat /etc/exports
>   ...
> /home2  wax(rw)

okay...exporting home2 to wax....

> >From the log file /var/log/syslog on grun:
> Jan 17 11:44:16 grun automount[7194]: attempting to mount entry /home/exdb
> Jan 17 11:44:16 grun automount[7323]: lookup(file): looking up exdb
> Jan 17 11:44:16 grun automount[7323]: lookup(file): lookup for exdb failed

probably needed /etc/auto.home entry in the auto.master file

> So it seems to fail to find exdb, but why?? Remember I can log
> in as exdb on grun. exdb's passwd/shadow is handled using NIS on wax.
> 
> When I expect wax's /var/log/syslog I find:
> 
> Jan 17 19:44:54 wax automount[5095]: lookup(file): looking up edb
> Jan 17 19:44:54 wax automount[5095]: lookup(file): edb -> -rw,hard,intr^I
> grun:/home2/exdb
> Jan 17 19:44:54 wax automount[5095]: expanded entry: -rw,hard,intr^I
> grun:/home2/exdb
> Jan 17 19:44:54 wax automount[5095]: parse(sun): gathered options: rw,hard,intr
> Jan 17 19:44:54 wax automount[5095]: parse(sun): core of entry: grun:/home2/exdb
> Jan 17 19:44:54 wax automount[5095]: mount(nfs): calling mkdir /home/exdb
> Jan 17 19:44:54 wax automount[5095]: mount(nfs): calling mount -t nfs -o
> rw,hard,intr grun:/home2/exdb /home/exdb
> Jan 17 19:44:54 wax automount[5095]: mount(nfs): mounted grun:/home2/exdb on
> /home/exdb

good....

> Any help would be greatly appreciated -- this problem is really slowing things
> up. Also amd is installed but not used on the server wax, but it is not
> installed on
> grun, should I install amd on grun also?

are you running amd or autofs ??? ...

the log messages is for autofs as is the mailing list and files...

have fun
alvin

Reply via email to