Summary: YP & Automount

From: Marcel Bernards (ecn!bernards@relay.eu.net)
Date: Thu Mar 29 1990 - 06:48:03 CST


Hi there,
Time for a short summary considering the automounter and YP.

After several trial and error sessions adding an YP map, it seemes
that after modification of the YP makefile the maps _are_ created but
not being propagated to slave servers. The fix was not creating the
auto.*.{dir,pag} ( yp barfs corrypted dbm files) but rcp them from the
master first. After this, propagating them works fine.
Indeed I think (as Hal mentioned to me) this is a bug in YPxfr

I made the followin generic auto.master and auto.home:

# @(#)auto.master 1.0 Copyright 1990 ECN Petten M.A. Bernards
#
# This is the Auto.master file for ECN for all YP speaking hosts
# DIRECTORY MAP MOUNT OPTIONS
/home auto.home -rw,intr,hard

# @(#)auto.home 1.0 Copyright 1990 ECN Petten M.A. Bernards
# All users home dirs available everywhere at ECN lan on SUN Workstations
# And other hosts undestanding YP and Automount(8)
#
#Key Mount options location
erasmus erasmus:/home/erasmus
senior senior:/home/senior
corona corona:/home/corona
fast fast:/home/fast
zahir zahir:/home/zahir
papa papa:/home/papa
piano piano:/home/piano
bolero bolero:/home/bolero
mondriaan mondriaan:/home/mondriaan
ecn ecn:/home/ecn/2
#ecn ecn:/home/ecn/1

the ecn entry does not work. In fact it mounts the right directory,
but the symlink is not OK:

cd ~bernards
/home/ecn/2/bernards : No such file or directory
cd /home/ecn/bernards -> Its mounted -> linked to /tmp_mnt/home/ecn/2

How can I get the right mount from 1 server with 2 partitions on line ??
I tried some variants , no luck. Do I have to specify each user instead of each
host in the auto.hosts ?? (This is not what I really want)

many thanx to: those who took the trouble to respond:

Jeffrey R. Tunison <tunison@pecos.rice.edu>
Lee Vrieze <vrieze@no2sun.cray.com>
Cris Barry <cbarry@BBN.COM>
Hal Stern <halstern@sun.com>
Clyde <clyde@sirius.cc.utexas.edu>
and others I lost in my folder ;-)

Greetings,

Marcel Bernards, UNIX & Net sysadm Netherlands Energy Research Foundation ECN
P.O. Box 1, 1755 ZG Petten, PHONE: 09 312246 4579 EARN/BITNET:ESU0130@HPEENR51
EMAIL: bernards@ecn.nl bernards%ecn@{nluug.nl,uunet.uu.net},hp4nl!ecn!bernards
SCREAMNet : AAAAAARGHH!HUH?? : Disclaimer: "The AntiChrist is the Computer !"



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:05:56 CDT