Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* automount
@ 1996-04-11  4:00 ONA Library
  1996-04-18  4:00 ` automount Erik
  0 siblings, 1 reply; 10+ messages in thread
From: ONA Library @ 1996-04-11  4:00 UTC (permalink / raw)


I have configured automounter on our server for our clients and for them 
it works fine.

I also wanted to use the same automount file for the server itself as it 
can then mount dirs off the other server (we have two).

It stuffs up on the servers though as it doesn't seem to recognize that 
it doesn't need to automount file systems that are local to the server.  
It tries to mount them anyway and stuffs everything by creating the links 
etc pointing to themselves.

Anyone have any ideas?



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: automount
  1996-04-11  4:00 automount ONA Library
@ 1996-04-18  4:00 ` Erik
  0 siblings, 0 replies; 10+ messages in thread
From: Erik @ 1996-04-18  4:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2696 bytes --]

What you are experiencing is quite normal as the automounter just does
what it is told. One way (the in one my opinion easiest and most
consistent way is to keep any data you wish to export (and possibly
want to automount) in directories separate from the directories you
want to use when you access your data.

Example: You've got two machines which both exports and mounts data
from each other - we can call them "laurel" and "hardy". Laurel could
have a disk with home directories which would be physically mounted on
/export/home while hardy maybe has a disk with applications (your
ordinary everyday /usr/local perhaps?) which would be mounted on
/export/local.

The /etc/exports files would look something like:
On laurel:
	/export/home	-access=laurel:hardy
On hardy:
	/export/local	-access=laurel:hardy

You now have the option to use the automounter i two different ways by
either letting you mount the exported directories directly on their
designated mount points (/home and /usr/local are maybe appropriate).
This is done by using direct automount maps:

/etc/auto.master
	/-		auto.direct
/etc/auto.direct
	/home		-rw,nosuid	laurel:/export/home
	/usr/local	-rw		hardy:/export/local

I do not remember if you have to create the /home and /usr/local
directories as i myself never use the "direct" method as it has some
disadvantages. I use the automounter with indirect maps instead, which
can be done in the following way:

Create a /mp (or whatever you like to call it) directory and make your
automount maps look something like

/etc/auto.master:
	/mp		auto.mp
/etc/auto.mp
	home		laurel:/export/home
	local		hardy:/export/local

Now do 'ln -s /mp/home /' and 'ln -s /mp/local /usr/' (/home and
/usr/local must not exist).

Why do it with indirect maps instead of with direct maps? Both ways
will get the job done and (un)mount/symlink your automounted
directories. Practice has shown that the automounter provides greater
flexiblity with direct maps - especially if you serve the automount
maps via YP. If you change a direct automount map chances are very big
that the automounter won't use the new configuration unless you kill
it and start it anew. If you use indirect maps it is sufficient to
change the map on the YP server (add a new directory to be mounted for
example) and run "make" on the YP server to make the automounter use a
new configuration. This should also be true for indirect automount
maps in /etc but I don't know.

Hope this helps
/Erik




-- 
Erik Persson, System Manager            e-mail: eripe@ikp.liu.se
Dept. of Mech. Engineering              Voice: +46 13 28 2464
Division of Solid Mechanics		Fax:   +46 13 21 2717
University of Link�ping, Sweden




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Automount
@ 1996-10-17  4:00 Scott Owens
  1996-10-18  4:00 ` Automount WEILL Philippe
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Scott Owens @ 1996-10-17  4:00 UTC (permalink / raw)



Is AMD (Automount Daemon) exists for OSF/1 V3.0 or must one use the
built in Automount? Is the automount that is included a variation of the
one created by Sun? Basically, is it reliable?

- Scott
owens@magnet.fsu.edu




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-17  4:00 Automount Scott Owens
@ 1996-10-18  4:00 ` WEILL Philippe
  1996-10-20  4:00   ` Automount Thilo Kielmann
  1996-10-18  4:00 ` Automount Eric Werme
  1996-10-25  4:00 ` Automount Pang Wai Man Raymond
  2 siblings, 1 reply; 10+ messages in thread
From: WEILL Philippe @ 1996-10-18  4:00 UTC (permalink / raw)
  To: Scott Owens


Scott Owens wrote:
> 
> Is AMD (Automount Daemon) exists for OSF/1 V3.0 or must one use the
> built in Automount? Is the automount that is included a variation of the
> one created by Sun? Basically, is it reliable?
> 

I use amd with OSF/1 V3.0,V3.2 ,V3.2c V3.2D-1 ,not yet with 4.x
no problem
I use amd without any problem

sirocco:/tmp> /usr/local/sbin/amd -v
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990 The Regents of the University of California.
Unofficial patch level 102.
amd 5.2.2.2 of 1992/05/31 16:53:21 bsd44-beta #2: Fri Jan 19 16:58:45
MET 1996
Built by weill@sirocco for an alpha running osf1 version V3.0
(little-endian).
Map support for: root, passwd, nis, ndbm, file, error.
FS: ufs, nfs, nfsx, host, link, linkx, cdfs, program, union, auto, 
    direct, toplvl, error.
Primary network: primnetname="aero-net.jussieu.fr"
(primnetnum=134.157.5).
No Subsidiary network.
sirocco:/tmp> uname -a
OSF1 sirocco V3.2 41 alpha


> - Scott
> owens@magnet.fsu.edu

Hope this Help
-- 
|--------------------------------------------------------------------------|
| Weill Philippe                       |  CNRS Service
Aeronomie           |
|                                      |  Universite Pierre et Marie
Curie |
| Tel: +33-1-44274759                  |  Tour 15 Couloir
15-14            |
| Fax: +33-1-44273776                  |  4 Place
Jussieu                  |
|                                      |  75252 Paris Cedex
05             |
| Email:philippe.weill@aero.jussieu.fr | 
FRANCE                           |
|--------------------------------------------------------------------------|



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-17  4:00 Automount Scott Owens
  1996-10-18  4:00 ` Automount WEILL Philippe
@ 1996-10-18  4:00 ` Eric Werme
  1996-10-21  4:00   ` Automount Paul M. Aoki
  1996-10-25  4:00 ` Automount Pang Wai Man Raymond
  2 siblings, 1 reply; 10+ messages in thread
From: Eric Werme @ 1996-10-18  4:00 UTC (permalink / raw)



owens@magnet.fsu.edu (Scott Owens) writes:

>Is AMD (Automount Daemon) exists for OSF/1 V3.0 or must one use the
>built in Automount? Is the automount that is included a variation of the
>one created by Sun? Basically, is it reliable?

I can't speak for amd.  Our automount is the one from Sun, but with
a gazillion bugs fixed.  We use it heavily in our environment which
includes non-DEC routers that love to drop messages.  It's used for
home directories, access to OS source pools, etc.  If we went back to
Sun's code we wouldn't survive 5 minutes.

I don't think I saved the message, but some customer actually praised
our automount in this very newsgroup.

Caveat: it's not perfect, and I still don't understand all the tricks
one can do with maps.  (I think our Network Admin book has a better
description of maps than the man page.)

Hint 1: Never, ever kill -9 automount

Hint 2: running automount with options -T -T will produce a fairly
reasonable debugging trace showing all its activity.
-- 
  <>    Eric (Ric) Werme   <>  Why Government Doesn't Work!  For details   <>
  <>  <werme@zk3.dec.com>  <>     visit http://www.HarryBrowne96.org/      <>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-18  4:00 ` Automount WEILL Philippe
@ 1996-10-20  4:00   ` Thilo Kielmann
  0 siblings, 0 replies; 10+ messages in thread
From: Thilo Kielmann @ 1996-10-20  4:00 UTC (permalink / raw)



In article <3267415B.5A0611B1@aero.jussieu.fr>, WEILL Philippe <philippe.weill@aero.jussieu.fr> writes:

|> 
|> I use amd with OSF/1 V3.0,V3.2 ,V3.2c V3.2D-1 ,not yet with 4.x
|> no problem
|> I use amd without any problem
|> 

Caution!

We also used amd for years without problems on Ultrix and OSF machines.

But with the "upgrade" to 4.0 we had to drop amd and used Digital's
automount instead :-(

The reason: amd caused NFS clients and the server to flood the network
with "pinging" NFS packets.

It was absolutetly reproducible: Take a 3-lines-of-code C program
and type in "cc myprog.c" and you have to reboot client and server...

DEC's technical staff told us about "some problems with signal handling
in amd"...

I don't know what to believe, but since we switched to DEC's automount,
the problems are gone...


Thilo
-- 
Thilo Kielmann
Univ. of Siegen, Dept. of Electrical Engineering and Computer Science (FB 12)
Hoelderlinstr. 3, D-57068 Siegen, Germany
Phone:  +49 271 740 2642                                               /\,/\
Fax:    +49 271 740 2532                                              / u u \
E-Mail: kielmann@informatik.uni-siegen.de                             \<_Y_>/
WWW:    http://www.informatik.uni-siegen.de/~kielmann/                /  "  \



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-18  4:00 ` Automount Eric Werme
@ 1996-10-21  4:00   ` Paul M. Aoki
  1996-10-24  4:00     ` Automount Eric Werme
  0 siblings, 1 reply; 10+ messages in thread
From: Paul M. Aoki @ 1996-10-21  4:00 UTC (permalink / raw)



werme@zk3.dec.com writes:
| I can't speak for amd.  Our automount is the one from Sun, but with
| a gazillion bugs fixed.  We use it heavily in our environment which
| includes non-DEC routers that love to drop messages.

we've been running the stock automount in a DU 3.x environment for 
quite some time now -- well over a year.  it works just fine if your 
servers are reliable.  we're about to move to amd because we're tired 
of having automount block on unresponsive hosts; also, with amd's 
non-blocking architecture, we can switch our fstab-mounts from the 
flaky departmental servers to automounts and improve our reliability.

if the blocking thing is fixed in 4.x, i'd be glad to hear it -- it
would give us a reason to upgrade our 3000/x00s to 4.x.
-- 
  Paul M. Aoki         | University of California at Berkeley
  aoki@CS.Berkeley.EDU | Dept. of EECS, Computer Science Division #1776
                       | Berkeley, CA 94720-1776



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-21  4:00   ` Automount Paul M. Aoki
@ 1996-10-24  4:00     ` Eric Werme
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Werme @ 1996-10-24  4:00 UTC (permalink / raw)



aoki@faerie.CS.Berkeley.EDU (Paul M. Aoki) writes:

>if the blocking thing is fixed in 4.x, i'd be glad to hear it -- it
>would give us a reason to upgrade our 3000/x00s to 4.x.

Unfortunately, it isn't.
-- 
  <>    Eric (Ric) Werme   <>  Why Government Doesn't Work!  For details   <>
  <>  <werme@zk3.dec.com>  <>     visit http://www.HarryBrowne96.org/      <>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Automount
  1996-10-17  4:00 Automount Scott Owens
  1996-10-18  4:00 ` Automount WEILL Philippe
  1996-10-18  4:00 ` Automount Eric Werme
@ 1996-10-25  4:00 ` Pang Wai Man Raymond
  2 siblings, 0 replies; 10+ messages in thread
From: Pang Wai Man Raymond @ 1996-10-25  4:00 UTC (permalink / raw)



Does amd support V3 NFS? We've put amd on our DU3.2d alpha but can 
only run V2 NFS. Any idea. Thanks.


Raymond
Dept. of SE&EM
The Chinese University of Hong Kong



^ permalink raw reply	[flat|nested] 10+ messages in thread

* automount
@ 1999-06-10  4:00 Jeroen Berning
  0 siblings, 0 replies; 10+ messages in thread
From: Jeroen Berning @ 1999-06-10  4:00 UTC (permalink / raw)


Is there a way to get the automounter to displays all the links that
are under an automount point. Example: I have some directories under
/project and they are accessible if you do a cd to that directory but you
need to know the directory name because they are not visible.
On sun there is a setting for the automounter -browse and -nobrowse.
I can not find a setting like this for digital unix (4.0d).

Jeroen






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-06-10  4:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-17  4:00 Automount Scott Owens
1996-10-18  4:00 ` Automount WEILL Philippe
1996-10-20  4:00   ` Automount Thilo Kielmann
1996-10-18  4:00 ` Automount Eric Werme
1996-10-21  4:00   ` Automount Paul M. Aoki
1996-10-24  4:00     ` Automount Eric Werme
1996-10-25  4:00 ` Automount Pang Wai Man Raymond
  -- strict thread matches above, loose matches on Subject: below --
1999-06-10  4:00 automount Jeroen Berning
1996-04-11  4:00 automount ONA Library
1996-04-18  4:00 ` automount Erik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox