Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* problems with ULTRIX automount
@ 1995-03-21 21:25 ndic
  1995-03-22 16:12 ` Barry Margolin
  1995-03-23 19:02 ` Eric Werme
  0 siblings, 2 replies; 3+ messages in thread
From: ndic @ 1995-03-21 21:25 UTC (permalink / raw)



I'm having a problem with automount on systems running ULTRIX 4.4.

I'd like to know if it is possible for the automount facilities to handle 
the following situation:

On an NFS server, I have two separate filesystems:  /tools and 
/tools/bin.  I need to have both of them mounted onto a client.  I have 
no problem in getting /tools to work through the automounter (using 
direct maps).  I can access anything that is in that physical filesystem. 
 When I specify /tools/bin as an additional filesystem to be automounted 
from the server, and I attempt to access files in /tools/bin,  nothing 
happens.

Is the automount facility supposed to be able to handle a situation like 
this?  I have checked the automount man page, the O'Reilly 'Managing NFS 
and NIS' and Evi Nemeth's 'UNIX System Administration Handbook' books.  
None of them mention this type of situation.

The following is how automount is set up on my system:

On client:  automount is invoked through the following line in the 
/etc/rc.local script:

/usr/etc/automount  -f /etc/auto.master
--------------------------------------------------

The /etc/auto.master script has the following:

/-      /usr/local/auto.mounts
----------------------------------------------------

The /usr/local/auto.mounts file contains:

/tools         server1:/tools
/tools/bin     server1:/tools/bin
---------------------------------------------------
[ In the above, the server is referred to as server1.  Both of the 
filesystems in question are listed in the /etc/exports file on server1.]

Can anybody tell me if the situation I described above can be handled by 
automount?  If so, any tips on how to handle it?



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

* Re: problems with ULTRIX automount
  1995-03-21 21:25 problems with ULTRIX automount ndic
@ 1995-03-22 16:12 ` Barry Margolin
  1995-03-23 19:02 ` Eric Werme
  1 sibling, 0 replies; 3+ messages in thread
From: Barry Margolin @ 1995-03-22 16:12 UTC (permalink / raw)


In article <3kn9tv$cs5@usenet.srv.cis.pitt.edu> ndic@vms.cis.pitt.edu writes:
>The /usr/local/auto.mounts file contains:
>
>/tools         server1:/tools
>/tools/bin     server1:/tools/bin

You have to use the "multiple mounts" mechanism.  Change your automount map
to:

/tools	\
	/	server1:/tools	\
	/bin	server1:/tools/bin

>---------------------------------------------------
>[ In the above, the server is referred to as server1.  Both of the
>filesystems in question are listed in the /etc/exports file on server1.]
>
>Can anybody tell me if the situation I described above can be handled by
>automount?  If so, any tips on how to handle it?
>


--
Barry Margolin
BBN Planet Corporation, Cambridge, MA
barmar@bbnplanet.com


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

* Re: problems with ULTRIX automount
  1995-03-21 21:25 problems with ULTRIX automount ndic
  1995-03-22 16:12 ` Barry Margolin
@ 1995-03-23 19:02 ` Eric Werme
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Werme @ 1995-03-23 19:02 UTC (permalink / raw)


ndic@vms.cis.pitt.edu writes:

>I'm having a problem with automount on systems running ULTRIX 4.4.

It wouldn't be automount it you weren't having trouble with it!

>I'd like to know if it is possible for the automount facilities to handle
>the following situation:

>On an NFS server, I have two separate filesystems:  /tools and
>/tools/bin.  I need to have both of them mounted onto a client.
...
>The /usr/local/auto.mounts file contains:

>/tools         server1:/tools
>/tools/bin     server1:/tools/bin

I think you'll need a hierarchical mount, e.g.:
/tools                               \
        /        server1:/tools      \
        /bin     server1:/tools/bin

Touching /tools will mount both file systems.

What you tried would not let automount intercept both /tools and /tools/bin.
--
Eric (Ric) Werme         |  werme@zk3.dec.com
Digital Equipment Corp.  |  This space intentionally left blank.


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

end of thread, other threads:[~1995-03-23 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-21 21:25 problems with ULTRIX automount ndic
1995-03-22 16:12 ` Barry Margolin
1995-03-23 19:02 ` Eric Werme

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