Date: Thu, 30 Mar 95 9:20:42 MESZ From: Thomas Krebs <krebs@faps.uni-erlangen.de> To: kelly@fsl.noaa.gov (Sean Kelly) (Sean Kelly) Cc: krebs@faps.uni-erlangen.de, questions@FreeBSD.org Subject: Re: Problems with NIS and amd Message-ID: <9503300722.AA00658@behaim.faps.uni-erlangen.de> In-Reply-To: <9503292100.AA15902@junco.fsl.noaa.gov>; from "Sean Kelly" at Mar 29, 95 2:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > >>>>> "Thomas" == Thomas Krebs <krebs@faps.uni-erlangen.de> writes: > > >> ypcat hosts | fgrep riese > Thomas> 131.188.254.80 riese RIESE ... > >> ypmatch riese hosts > Thomas> Can't match key riese in map hosts.byaddr. > ^^^^^^ > That's the problem. Try: > > ypmatch riese hosts.byname > > Now here's MY question: why is `hosts' the nickname for `hosts.byaddr' > and NOT `hosts.byname'? > OK, ypmatch riese hosts.byname works. But why does ypmatch riese hosts work on HPUX?? But the next question now is: How to start amd to mount every possible host under /vhe that can be found in hosts.byname?? I'm trying with amd -a /tmp_mnt -l syslog -x all /vhe hosts.byname but I get the following: Mar 30 09:09:53 mosaic amd[465]: file server localhost type local starts up Mar 30 09:09:53 mosaic amd[465]: Trying mount of hosts.byname on /vhe fstype toplvl Mar 30 09:09:53 mosaic amd[466]: defeating nfs window computation Mar 30 09:09:53 mosaic amd[465]: hosts.byname mounted fstype toplvl on /vhe Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "131.188.254.80" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "131.188.254.80" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry 131.188.254.80 for /vhe/riese failed to match Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "riese" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "riese" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry riese for /vhe/riese failed to match Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "RIESE" Mar 30 09:10:09 mosaic amd[465]: key riese: No value component in "RIESE" Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: No fs type specified (key = "riese", map = "hosts.byname") Mar 30 09:10:09 mosaic amd[465]: Map entry RIESE for /vhe/riese failed to match Can't I use the hosts.byname map for amd as we do for the HPUX automounter (there we use simply hosts) or am I missing something else? Thomas -- Thomas Krebs Department for Manufacturing Automation and Production Systems FAPS University of Erlangen Egerlandstr. 7-9 91058 Erlangen Tel.: +49 (0)9131/85-8740 Fax: +49 (0)9131/302528 http://www.faps.uni-erlangen.de:1200/persons/krebs.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503300722.AA00658>