Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265518 > unrolled thread

NFS: IPV6

Started byPocket <pocket@columbus.rr.com>
First post2024-01-05 00:30 +0100
Last post2024-01-06 11:40 +0100
Articles 8 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  NFS: IPV6 Pocket <pocket@columbus.rr.com> - 2024-01-05 00:30 +0100
    Re: NFS: IPV6 Marco Moock <mm@dorfdsl.de> - 2024-01-05 09:40 +0100
      Re: NFS: IPV6 debian-user@howorth.org.uk - 2024-01-05 11:00 +0100
        Re: NFS: IPV6 Pocket <pocket@columbus.rr.com> - 2024-01-05 13:10 +0100
          Re: NFS: IPV6 Andy Smith <andy@strugglers.net> - 2024-01-05 22:30 +0100
        Re: NFS: IPV6 Greg Wooledge <greg@wooledge.org> - 2024-01-05 13:40 +0100
      Re: NFS: IPV6 Pocket <pocket@columbus.rr.com> - 2024-01-05 13:00 +0100
        Re: NFS: IPV6 Leandro Noferini <lnoferin@cybervalley.org> - 2024-01-06 11:40 +0100

#265518 — NFS: IPV6

FromPocket <pocket@columbus.rr.com>
Date2024-01-05 00:30 +0100
SubjectNFS: IPV6
Message-ID<HSFjY-QtS-9@gated-at.bofh.it>
Where can I find information on how to configure NFS to use ipv6 
addresses both server and client.

I haven't found any good information on how to do that and what I did 
find was extremely sparce.

I have NFS mounts working using ipv4 and want to change that to ipv6


-- 
Hindi madali ang maging ako

[toc] | [next] | [standalone]


#265524

FromMarco Moock <mm@dorfdsl.de>
Date2024-01-05 09:40 +0100
Message-ID<HSNUd-VP2-13@gated-at.bofh.it>
In reply to#265518
Am 04.01.2024 um 18:19:57 Uhr schrieb Pocket:

> Where can I find information on how to configure NFS to use ipv6 
> addresses both server and client.

Does IPv6 work basically on your machine, including name resolution?

Does it work if you enter the address directly?

https://ipv6.net/blog/mounting-an-nfs-share-over-ipv6/

How does your fstab look like?

[toc] | [prev] | [next] | [standalone]


#265528

Fromdebian-user@howorth.org.uk
Date2024-01-05 11:00 +0100
Message-ID<HSP9D-Wwu-1@gated-at.bofh.it>
In reply to#265524
Marco Moock <mm@dorfdsl.de> wrote:
> Am 04.01.2024 um 18:19:57 Uhr schrieb Pocket:
> 
> > Where can I find information on how to configure NFS to use ipv6 
> > addresses both server and client.  
> 
> Does IPv6 work basically on your machine, including name resolution?
> 
> Does it work if you enter the address directly?
> 
> https://ipv6.net/blog/mounting-an-nfs-share-over-ipv6/
> 
> How does your fstab look like?

plus FWIW...

https://docs.oracle.com/cd/E23824_01/html/821-1453/ipv6-ref-71.html

"NFS software and Remote Procedure Call (RPC) software support IPv6 in a
seamless manner. Existing commands that are related to NFS services
have not changed. Most RPC applications also run on IPv6 without any
change. Some advanced RPC applications with transport knowledge might
require updates."

[toc] | [prev] | [next] | [standalone]


#265532

FromPocket <pocket@columbus.rr.com>
Date2024-01-05 13:10 +0100
Message-ID<HSRbs-Y5t-3@gated-at.bofh.it>
In reply to#265528
On 1/5/24 04:54, debian-user@howorth.org.uk wrote:
> Marco Moock <mm@dorfdsl.de> wrote:
>> Am 04.01.2024 um 18:19:57 Uhr schrieb Pocket:
>>
>>> Where can I find information on how to configure NFS to use ipv6
>>> addresses both server and client.
>>
>> Does IPv6 work basically on your machine, including name resolution?
>>
>> Does it work if you enter the address directly?
>>
>> https://ipv6.net/blog/mounting-an-nfs-share-over-ipv6/
>>
>> How does your fstab look like?
> 
> plus FWIW...
> 
> https://docs.oracle.com/cd/E23824_01/html/821-1453/ipv6-ref-71.html
> 
> "NFS software and Remote Procedure Call (RPC) software support IPv6 in a
> seamless manner. Existing commands that are related to NFS services
> have not changed. Most RPC applications also run on IPv6 without any
> change. Some advanced RPC applications with transport knowledge might
> require updates."
> 
> 

According to debian docs NFSServerSetup from the debian wiki

Additionally, rpcbind is not strictly needed by NFSv4 but will be
started as a prerequisite by nfs-server.service. This can be
prevented by masking rpcbind.service and rpcbind.socket.
sudo systemctl mask rpcbind.service
sudo systemctl mask rpcbind.socket

I am going to do that to use NFSv4 only.

I believe that my issue is the in the /etc/exports file but I don't know 
for sure.
I have this in the exports, ipv4 works

/srv/Multimedia 192.168.1.0/24(rw,no_root_squash,subtree_check)
/srv/Other 192.168.1.0/24(rw,no_root_squash,subtree_check)
#/home 2002:474f:e945:0:0:0:0:0/64(rw,no_root_squash,subtree_check)

I am looking for an example

I have commented out the ipv6 for now because I want to use NFSv4 only 
and after I get that working I want to get ipv6 mounts working and 
change the ipv4 mounts to use ipv6.
/srv/Multimedia and /srv/Other are root mounts and there isn't any bind 
mounts


-- 
Hindi madali ang maging ako

[toc] | [prev] | [next] | [standalone]


#265556

FromAndy Smith <andy@strugglers.net>
Date2024-01-05 22:30 +0100
Message-ID<HSZVn-13Th-3@gated-at.bofh.it>
In reply to#265532
Hello,

On Fri, Jan 05, 2024 at 07:04:21AM -0500, Pocket wrote:
> I have this in the exports, ipv4 works
> 
> /srv/Multimedia 192.168.1.0/24(rw,no_root_squash,subtree_check)
> /srv/Other 192.168.1.0/24(rw,no_root_squash,subtree_check)
> #/home 2002:474f:e945:0:0:0:0:0/64(rw,no_root_squash,subtree_check)

This syntax in /etc/exports works for me:

/srv 2001:0db8:a:b::/64(rw,fsid=0)

And then on a client you have to surround the server IP with []
e.g.:

# mount -t nfs4 '[2001:0db8:a:b::1]':/srv /mnt

I have not tested what degree of quoting is required in /etc/fstab,
i.e. may or may not work without the single quotes.

How's your migration away from Debian and all is evils going, by
the way?

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#265535

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-05 13:40 +0100
Message-ID<HSREt-Yfi-15@gated-at.bofh.it>
In reply to#265528
On Fri, Jan 05, 2024 at 09:54:54AM +0000, debian-user@howorth.org.uk wrote:
> plus FWIW...
> 
> https://docs.oracle.com/cd/E23824_01/html/821-1453/ipv6-ref-71.html
> 
> "NFS software and Remote Procedure Call (RPC) software support IPv6 in a
> seamless manner. Existing commands that are related to NFS services
> have not changed. Most RPC applications also run on IPv6 without any
> change. Some advanced RPC applications with transport knowledge might
> require updates."

I wouldn't assume Oracle (Solaris?) documentation is authoritative for
Debian systems.  The NFS implementations are probably quite different.

[toc] | [prev] | [next] | [standalone]


#265531

FromPocket <pocket@columbus.rr.com>
Date2024-01-05 13:00 +0100
Message-ID<HSR1L-XMt-5@gated-at.bofh.it>
In reply to#265524
On 1/5/24 03:35, Marco Moock wrote:
> Am 04.01.2024 um 18:19:57 Uhr schrieb Pocket:
> 
>> Where can I find information on how to configure NFS to use ipv6
>> addresses both server and client.
> 
> Does IPv6 work basically on your machine, including name resolution?

Yes I have bind running and ssh to the host is working

> 
> Does it work if you enter the address directly?
> 
> https://ipv6.net/blog/mounting-an-nfs-share-over-ipv6/
> 
> How does your fstab look like?
> 
> 

I followed some info that I found on the internet and it didn't work.

I am in the process of re-configuring NFS for V4 only.

I should have that done here shortly and I will try again to mount NFS 
mounts shortly



-- 
Hindi madali ang maging ako

[toc] | [prev] | [next] | [standalone]


#265577

FromLeandro Noferini <lnoferin@cybervalley.org>
Date2024-01-06 11:40 +0100
Message-ID<HTcfT-1c1Y-3@gated-at.bofh.it>
In reply to#265531
Pocket <pocket@columbus.rr.com> writes:

[...]

> I am in the process of re-configuring NFS for V4 only.

Could it be there is some misunderstanding?

IPV4 and IPV6 are quite different concepts from NFSv4: I think this
works either on IPV4 and IPV6.

--
Ciao
leandro

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web