"H. Peter Anvin" wrote:

> > 3.1.4, path = /home, maptype = yp, mapname = /etc/auto.home
[...]
> > May  2 15:53:55 llama automount[1604]: lookup(yp): looking up ccurtis
> > May  2 15:53:55 llama automount[1604]: lookup(yp): lookup for ccurtis
> > failed: No such map in server's domain

> Hint: it claims you're trying to use a yp map, but the name is
> /etc/auto.home.  I think it's safe to say you don't have a yp map of
> that name (including the /etc/ part!)  It seems your automount start

<*whack*> <*whack*>

Okay.  Thank you _so_ much.  In case this message is going to be
archived, I next ran into the problem of this:  My map had the options
"-fstype=auto,soft,intr", which produced the errors:

May  2 16:27:21 llama automount[2536]: attempting to mount entry
/home/ccurtis
May  2 16:27:21 llama automount[2585]: lookup(yp): looking up ccurtis
May  2 16:27:21 llama automount[2585]: lookup(yp): ccurtis ->
-fstype=auto,soft,intr^Ispanky:/home/&
May  2 16:27:21 llama automount[2585]: expanded entry:
-fstype=auto,soft,intr^Ispanky:/home/ccurtis
May  2 16:27:21 llama automount[2585]: parse(sun): gathered options:
fstype=auto,soft,intr
May  2 16:27:21 llama automount[2585]: parse(sun): core of entry:
spanky:/home/ccurtis
May  2 16:27:21 llama automount[2585]: do_mount spanky:/home/ccurtis
/home/ccurtis type auto options soft,intr using module generic
May  2 16:27:21 llama automount[2585]: mount(generic): calling mkdir
/home/ccurtis
May  2 16:27:21 llama automount[2585]: mount(generic): calling mount -t
auto -s -o soft,intr spanky:/home/ccurtis /home/ccurtis
May  2 16:27:21 llama automount[2585]: >> mount: special device
spanky:/home/ccurtis does not exist
May  2 16:27:21 llama automount[2585]: mount(generic): failed to mount
spanky:/home/ccurtis (type auto) on /home/ccurtis

The problem here is that type "auto" doesn't work.  Changing the options
to read "-fstype=nfs,soft,intr" cleared it up nicely.  Mounts sleek and
fast, thanks!!

Christopher

ps - If possible, instead of saying "lookup(yp) failed ... No such map
in domain", it would have been a lot more clear what the problem was if
it said instead "lookup(yp) failed ... No such map (/etc/foo.bar) in
domain".

Thanks again.  I started this effort months ago and it's nice to have it
finally work.

cc

Reply via email to