--- Begin Message ---
Jeff,

I am sorry about sending this directly to you, but I have not been able
to post anything to the autofs mailing list in quite awhile.  I think I
will unsubscribe then resubscribe.  Would you please post this for me?

Thanks
Wayne

> ______________________________________________ 
> From:         Murata, Dennis  
> Sent: Friday, January 26, 2007 2:06 PM
> To:   [email protected]
> Subject:      Advise for multiple directory/multi-map mounts
> 
> After reading the FAQ and various postings from this group, there are
> a couple of options that I need advise with the approved syntax and
> any recommendations for either one of the options.
> 
> auto.master entry:
>      /foo     /etc/auto.foo
> indirect map auto.foo:
>      *   -fstype=nfs,rsize=32768,tcp server1:/foo1/& server2:/foo2/&
> 
> Server1 and server2 may or may not be the same server, but the server
> directories foo1 and foo2 are definitely distinct.  The subdirectories
> under foo1 and foo2 do not have overlapping names, but may be moved
> from one server foo1, to the other server directory foo2.  I want it
> to appear transparently to the client.  Because directories are going
> to be moved, should no_subtree_check be used?
> 
> The second option I see would use multi-maps.
> 
> auto.master entry:
>      /foo     multi: file /etc/auto.foo -- yp map.in.nis
> file /etc/auto.foo
>      *   -fstype=nfs,rsize=32768,tcp server1:/foo1/&
> NIS map auto.foo
>      *   -fstype=nfs,rsize=32768,tcp server2:/foo2/&
> 
> I have never used multi-maps, but would it also be possible to use the
> following:
> 
> auto.master entry:
>      /foo    multi: file /etc/auto.foo1 -- file /etc/auto.foo2
> file /etc/auto.foo1
>      *   -fstype=nfs,rsize=32768,tcp server1:/foo1/&
> file /etc/auto.foo2
>      *   -fstype=nfs,rsize=32768,tcp server2:/foo2/&
> 
> Any and all advice and recommendations are greatly appreciated.
> 
> Wayne Murata

--- End Message ---
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to