From: Victor Danilchenko <danilche@cs.umass.edu>
To: autofs@linux.kernel.org
Subject: Re: Automount 5 LDAP filtering question
Date: Fri, 23 Mar 2007 12:09:05 -0400 [thread overview]
Message-ID: <4603FBA1.8020408@cs.umass.edu> (raw)
In-Reply-To: <Pine.LNX.4.64.0703230836240.18094@simba.math.ucla.edu>
Jim Carter wrote:
> On Fri, 23 Mar 2007, Victor Danilchenko wrote:
>
>> The problem is this. We have individual systems indirectly automounting
>> each other. As such, it is useful for them to be able to keep both the
>> automounted and the local mountpoints in the same tree, for performance
>> reasons (rather than mount self over NFS from the /exports/myhost
>> directory into the /nfs/myhost directory, for example). With automount
>
> Which operating system is this? We're running Linux (with autofs-4), and
> autofs is smart enough to recognize and do a bind mount of local
> filesystems, so there is no overhead.
Interesting. I didn't know that. I am sure it's the same way on Fedora
and RHEL. I hope someone will offer a way to customize the LDAP filter,
but if it's not possible, we will go with your idea, thanks.
Thanks a bunch.
> We don't do anything special;
> however, the local filesystems are in one place (/h[1-9], /m[1-9]) while
> the automounted references are elsewhere (/net/$HOSTNAME). Here's an
> excerpt from /etc/mtab on a typical host, Sunset:
>
> /dev/sdb2 /m1 ext3 rw,acl,user_xattr,quota 0 0
> automount(pid4220) /net autofs rw,fd=4,pgrp=4220,minproto=2,maxproto=4 0 0
> automount(pid4094) /net/sunset autofs rw,fd=4,pgrp=4220...
> /m1 /net/sunset/m1 none rw,bind 0 0 <== Bind mount here
> automount(pid21051) /net/julia autofs rw,fd=4,pgrp=4220...
> julia:/h1 /net/julia/h1 nfs rw,,addr=128.97.4.5... <== NFS mount here
>
> So at least on Linux you don't need to exclude local filesystems from the
> automount map. I believe Solaris also has this situation covered but I
> can't remember just what it does.
>
> James F. Carter Voice 310 825 2897 FAX 310 206 6673
> UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
> Email: jimc@math.ucla.edu http://www.math.ucla.edu/~jimc (q.v. for PGP key)
--
| Victor Danilchenko + Unix: Your gun, Your bullet, |
| danilche@cs.umass.edu | Your foot, Your choice. |
| CSCF | 5-4231 | MS: Same as Unix, BUT: No choice, |
+-----------------------+ and We Aim Higher. |
prev parent reply other threads:[~2007-03-23 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 15:05 Automount 5 LDAP filtering question Victor Danilchenko
2007-03-23 15:53 ` Jim Carter
2007-03-23 16:09 ` Victor Danilchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4603FBA1.8020408@cs.umass.edu \
--to=danilche@cs.umass.edu \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.