Re: NFS: IPV6
Pocket 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
Re: NFS: IPV6
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
Re: NFS: IPV6
On Fri, Jan 05, 2024 at 09:54:54AM +, debian-u...@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.
Re: NFS: IPV6
On 1/5/24 04:54, debian-u...@howorth.org.uk wrote: 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? 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
Re: NFS: IPV6
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
Re: NFS: IPV6
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? > > 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."
Re: NFS: IPV6
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?
NFS: IPV6
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