All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christof Koehler <christof.koehler@bccms.uni-bremen.de>
To: Ian Kent <raven@themaw.net>
Cc: autofs@vger.kernel.org
Subject: Re: autofs reverts to IPv4 for multi-homed IPv6 server ?
Date: Wed, 4 May 2016 14:38:45 +0200	[thread overview]
Message-ID: <20160504123845.GK6794@bccms.uni-bremen.de> (raw)
In-Reply-To: <1462346453.6523.18.camel@themaw.net>

Hello,

there was one more thing I promised to test: mounting from a nfs server which only 
has IPv6 addresses. I did this now.

The server is a centos 7 with minimal configuration. There is no IPv4
configured and IPv6 is configured with a GUA and an ULA. Of course
matching forward/reverse DNS entries. Using an autofs built with
libtirpc (either my rebuild or the packages from your ppa) there are no
client side problems, e.g. it can mount fine using one of the IPv6
addresses after the response time check.

May  4 13:50:46 core400 automount[9642]: mount_mount: mount(nfs):
calling mount -t nfs4 -s -o rw,intr,nosuid,soft,nodev
[2001:638:708:1261:1000::9]:/mnt/export /local/testserver
May  4 13:50:46 core400 automount[9642]: mount_mount: mount(nfs):
mounted [2001:638:708:1261:1000::9]:/mnt/export on /local/testserver

With the autofs package from ubuntu, i.e. without libtirpc, it does not
work at all as you expected.

May  4 13:53:07 core400 automount[10949]: mount_mount: mount(nfs):
root=/local name=testserver what=testserver:/mnt/export, fstype=nfs4,
options=rw,intr,nosuid,soft,nodev
May  4 13:53:07 core400 automount[10949]: mount_mount: mount(nfs): nfs
options="rw,intr,nosuid,soft,nodev", nobind=0, nosymlink=0, ro=0
May  4 13:53:07 core400 automount[10949]: mount(nfs): no hosts available

I will have to check the server side again, apparently with
just "core*.bccms.uni-bremen.de" in /etc/exports either it does not
listen on all IPv6 addresses or it does only export to one of them (DNS
lookup order ?). But this is something I also observed on our
debian/ubuntu servers with a similar configuration. No real problems, I
can export to the ULAs directly if I want (or let autofs figure it out
for me :-).

On Wed, May 04, 2016 at 03:20:53PM +0800, Ian Kent wrote:
> On Tue, 2016-05-03 at 17:13 +0200, Christof Koehler wrote:
> 
> But the bis schema is preferred IMHO.
> 
I will take a second look at this then. Thank you !


Best Regards

Christof

-- 
Dr. rer. nat. Christof Köhler       email: c.koehler@bccms.uni-bremen.de
Universitaet Bremen/ BCCMS          phone:  +49-(0)421-218-62334
Am Fallturm 1/ TAB/ Raum 3.12       fax: +49-(0)421-218-62770
28359 Bremen  

PGP: http://www.bccms.uni-bremen.de/cms/people/c_koehler/
--
To unsubscribe from this list: send the line "unsubscribe autofs" in

  reply	other threads:[~2016-05-04 12:38 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07 14:19 autofs reverts to IPv4 for multi-homed IPv6 server ? Christof Koehler
2016-04-08  4:46 ` Ian Kent
2016-04-08 10:10   ` Ian Kent
2016-04-08 10:14     ` Ian Kent
2016-04-08 12:25     ` Christof Koehler
2016-04-08 14:29       ` Christof Koehler
2016-04-08 15:32         ` Christof Koehler
2016-04-10  2:09           ` Ian Kent
2016-04-08 16:12         ` Christof Koehler
2016-04-08 16:15           ` Christof Koehler
2016-04-10  2:17             ` Ian Kent
2016-04-10  2:14           ` Ian Kent
2016-04-09  1:42         ` Ian Kent
2016-04-09  9:56           ` Christof Koehler
2016-04-10  2:29             ` Ian Kent
2016-04-25  4:40             ` Ian Kent
2016-04-25 15:06               ` Christof Koehler
2016-04-26  1:06                 ` Ian Kent
2016-04-26  9:53                   ` Ian Kent
2016-04-26 15:27                     ` Christof Koehler
2016-04-27  1:54                       ` Ian Kent
2016-04-27  2:27                         ` Ian Kent
2016-04-27 16:52                         ` Christof Koehler
2016-04-28  2:56                           ` Ian Kent
2016-04-28  3:21                             ` Ian Kent
2016-04-28  9:12                               ` Christof Koehler
2016-04-28  9:10                             ` Christof Koehler
2016-04-28 10:50                               ` Ian Kent
2016-04-28 11:26                                 ` Christof Koehler
2016-04-28 12:40                                   ` Christof Koehler
2016-04-29  1:54                                   ` Ian Kent
2016-04-29 14:10                                     ` Christof Koehler
2016-04-29 14:42                                       ` Christof Koehler
2016-04-30  3:21                                       ` Ian Kent
2016-04-30 11:36                                         ` Christof Koehler
2016-04-30 15:15                                           ` Christof Koehler
2016-04-30 15:16                                           ` Christof Koehler
2016-05-02  6:01                                           ` Ian Kent
2016-05-02 16:08                                             ` Christof Koehler
2016-05-03  7:58                                               ` Ian Kent
2016-05-03 15:13                                                 ` Christof Koehler
2016-05-04  7:20                                                   ` Ian Kent
2016-05-04 12:38                                                     ` Christof Koehler [this message]
2016-04-09  1:35       ` Ian Kent
2016-04-11  2:42     ` Ian Kent
2016-04-11 16:32       ` Christof Koehler
2016-04-11 16:35         ` Christof Koehler
2016-04-12  1:07           ` Ian Kent
2016-04-08 11:47   ` Christof Koehler

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=20160504123845.GK6794@bccms.uni-bremen.de \
    --to=christof.koehler@bccms.uni-bremen.de \
    --cc=autofs@vger.kernel.org \
    --cc=raven@themaw.net \
    /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.