From: "H. Peter Anvin" <hpa@zytor.com>
To: Eric Werme USG <werme@zk3.dec.com>
Cc: autofs@linux.kernel.org, alexander.marx@hp.com
Subject: Re: autofs no_local_binds option (nfs <-> bind mounts)
Date: Tue, 13 Jan 2004 12:54:49 -0800 [thread overview]
Message-ID: <40045B19.2040301@zytor.com> (raw)
In-Reply-To: <200401132042.i0DKgDR0001085265@anw.zk3.dec.com>
Eric Werme USG wrote:
>
> *the same system* as the server? I don't know much about Linux internals,
> one reason I don't post here often, but I try to offer insight to other
> systems. Tru64 Unix has a lot of BSD heritage. If mailhub1 is providing the
> mailhub service and mounts something from mailhub, messages sent to mailhub
> will be caught in the routing code and directed to the loopback "NIC" lo0.
> If the mailhub service (IP address) is relocated to mailhub2, the routing
> code will see that no NIC on mailhub1 has the mailhub IP address and will
> give the message to a NIC that can reach it. (And ARP resolves the MAC
> address and it all runs like a normal remote mount.)
>
That one is not a problem. The problem is that you either need to force
the local address of the mount explicitly at the application layer (in
this case this would require a localaddr= option to mount, or something
similar) or it needs to be done by setting up the appropriate rules in
the kernel.
> Ah. Back to automount/autofs. I made many fixes to Sun's old automount,
> one of them was to rummage among all the NICs looking to see if the
> FS was really a local mount and provide the appropriate symlink. The
> cluster folks didn't realize I also checked the alias addresses too,
> so I had to add an option to disable that to force a real NFS call.
>
> You mention "you can't just move the IP address away," is that something
> Linux doesn't support yet? No problem on Tru64. A NIC has one permanent
> address and a bunch of aliases that can come and go at the whims of the
> admins or load balancing software:
No, the problem is: which local address will the socket be bound to.
-hpa
next prev parent reply other threads:[~2004-01-13 20:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 19:58 autofs no_local_binds option (nfs <-> bind mounts) Eric Werme USG
2004-01-13 20:03 ` H. Peter Anvin
2004-01-13 20:23 ` Dylan
2004-01-13 20:25 ` H. Peter Anvin
2004-01-13 20:58 ` Mike Waychison
2004-01-13 21:06 ` H. Peter Anvin
2004-01-13 20:42 ` Eric Werme USG
2004-01-13 20:54 ` H. Peter Anvin [this message]
2004-01-13 21:04 ` H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2004-01-13 14:26 MARX,ALEXANDER (HP-Germany,ex1)
2004-01-13 17:14 ` H. Peter Anvin
2004-01-13 17:48 ` Mike Waychison
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=40045B19.2040301@zytor.com \
--to=hpa@zytor.com \
--cc=alexander.marx@hp.com \
--cc=autofs@linux.kernel.org \
--cc=werme@zk3.dec.com \
/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.