Re: autofs reverts to IPv4 for multi-homed IPv6 server ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux