From: Ian Kent Subject: Re: bind mounts apparently not working Date: Tue, 26 Feb 2008 11:01:53 +0900 Message-ID: <1203991313.3173.0.camel@raven.themaw.net> References: <1203906836.3087.27.camel@raven.themaw.net> <1203941638.3087.81.camel@raven.themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Steve Thompson Cc: autofs@linux.kernel.org On Mon, 2008-02-25 at 18:55 -0500, Steve Thompson wrote: > > > > That's because v4 doesn't check the each interface to determine if the > > hostname is really local. > > Let me follow up on this a little more. The NFS server (and client) has > three network interfaces, with IP addresses (say) 192.168.1.1, 192.168.2.1 > and 192.168.3.1 (netmask 255.255.255.0 for each subnet). The server's FQDN > is foo.domain.org. Then what I actually had was: > > # getent hosts 192.168.1.1 > 192.168.1.1 foo.domain.org > > # getent hosts 192.168.2.1 > 192.168.2.1 foo.domain.org > > # getent hosts 192.168.3.1 > 192.168.3.1 foo.domain.org foo > > The third of these is apparently sufficient to stop autofs5 from doing a > bind mount. After removing the short name "foo" from the third entry, it > works. This doesn't seem right; after all, the FQDN of the server does > match one of the names for each of the entries. The NFS server name is the > map is "foo.domain.org". Or is that right after all? This should work OK. I'll check it out. At least you have a workaround, for now. Ian