Hello Every-one.
It seems that the problem is that I should be using indirect maps for the home
directories rather than the direct method employed currently.
Ray Ballisti <ballisti@ifh.ee.ethz.ch> sent me a copy of his setup
and I think I will emulate it RSN.
In the mean time, I used the script sent to me from Terry
Snyder <tss@breacad.beckman.com> to kick the automount daemon for
a list of machines. When running the script I end up with these messages on
some machines, but on most it worked fine :
NFS server (pid11682@/home/zeta/cats) not responding still trying
These problematic machines I have to reboot...
Thanks to all:
ulla@dmi.min.dk (Ulla Fischer)
Bill Reed <reedwv@expu79.stp.xfi.bp.com>
Peter Hesse <hessep@gb.swissbank.com>
Raimondo Ballisti (Ray) <ballisti@ifh.ee.ethz.ch>
"Christopher L. Barnard" <cbarnard@cs.uchicago.edu>
Terry Snyder <tss@breacad.beckman.com>
danny@esaserv1.dseg.ti.com (Danny Johnson)
Nicky
= = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =
Nick Ayoub Nicky.Ayoub@Microchip.com CAD Support Engineer
Mail Stop 1D Unix Systems Analyst
http:// www.ece.concordia.ca/~nicky/addr.html
- - - - - - - - - - -+- - - - - - - - - - - - - - -+- - - - - - - - - - - -
2355 W. Chandler Blvd. Voice: (602) 786-7551
Chandler AZ 85224-6199 Fax : (602) 786-7578
USA Microchip Technology Inc. Pager: (602) 484-2965
= = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++
ballisti@ifh.ee.ethz.ch said:
Sorry, in my previous letter I forgot to explain how we have org. auto.home:
% cat /etc/auto.home
#key mount-options location
+auto.home.mwel
% cat /etc/auto.home.mwel
#key mount-options location
betelgeuze betelgeuze:/export/home/betelgeuze
betel0 betelgeuze:/export/home/betel0
betel1 betelgeuze:/export/home/betel1
betel2 betelgeuze:/export/home/betel2
betel3 betelgeuze:/export/home/betel3
betel4 betelgeuze:/export/home/betel4
betel5 betelgeuze:/export/home/betel5
betel6 betelgeuze:/export/home/betel6
procyon procyon:/export/home/procyon
* -nosuid &:/export/home/&
This means that I have to modify only the /etc/auto.home.mwel file on the
server,
redo the NIS data base (cd /var/yp ; make ) and voila`, this is good for all
the machines on the network. Of course I did modify /var/yp/Makefile :
...
auto.home.mwel.time: $(DIR)/auto.home.mwel
-@if [ -f $(DIR)/auto.home.mwel ]; then \
sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto.home.mwel \
| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.home.mwel; \
touch auto.home.mwel.time; \
echo "updated auto.home.mwel"; \
if [ ! $(NOPUSH) ]; then \
$(YPPUSH) auto.home.mwel; \
echo "pushed auto.home.mwel"; \
else \
: ; \
fi \
else \
echo "couldn't find $(DIR)/auto.home.mwel"; \
fi
...
auto.home.mwel: auto.home.mwel.time
Hope this will help you.
Ciao Ray
-------------------------------------------------------------------
Raimondo Ballisti (Ray)
Swiss Federal Institute of Technology (ETH)
Laboratory for Electromagnetic Fields and
Microwaves Electronics
ETH-Zentrum,
CH-8092 Zurich, Switzerland.
Phone: ++41 1 632 2753; Fax: ++41 1 632 1198
WWW: http://www.ifh.ee.ethz.ch e-mail: ballisti@ifh.ee.ethz.ch
==== =======
-------------------------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++
This script I will use is a stripped down version of autopush by
Terry Snyder.
I hope you don't mind me presenting the script, Terry:
#!/bin/csh -x
#
# autopush - Updates remote /etc/auto.direct files as copies
# -------- of a master. Local drives are automatically removed.
# Comments on the master are automatically preserved.
#
# ALL THE WORK IS TERRY SNYDER's <tss@breacad.beckman.com> I simply
# commented 4 lines that don't apply here.
#######################################
# Special list of systems to update...
#
# <<<<<<<<<<<<<<<<<<<<<<<<
# >>> DO NOT INCLUDE <<<
# >>> the master <<<
# >>>>>>>>>>>>>>>>>>>>>>>>
#
#######################################
foreach sys ( sys1 sys2 sys3 sys57 sys58 sys59 )
echo "$sys... "
ping $sys 1 >&! /dev/null
if (! $status) then
# rcp -p /etc/auto.direct $sys\:/etc/auto.new
# rsh -n $sys grep -v \`hostname\`\: /etc/auto.new " >! " /etc/auto.clean
# rsh -n $sys cp /etc/auto.clean /etc/auto.direct
# rsh -n $sys rm /etc/auto.new /etc/auto.clean
set p = `rsh -n $sys ps -aux | grep auto | grep -v grep | awk '{print $2}'`
if ($p != "") then
rsh -n $sys kill -15 $p
sleep 10
rsh -n $sys automount &
endif
endif
end
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:34 CDT