nfs over ipv6 support
Subsystems (2)
Quoted 4 lines
Mar 13 19:32:20 DXi5500-12345 kernel: RPC: transport(2/17) not supported
After looking at the code (include/linux/socket.h):
#define AF_INET 2 /* Internet IP
Protocol */
include/linux/in.h:
IPPROTO_UDP = 17, /* User Datagram
Protocol */
Why 2/17 (which is AF_INET/IPPROTO_UDP) not
registered ?
Looking at the register code: net/sunrpc/xprtsock.c:
static int __init init_xs_transport(void)
{
xprt_register(&xs_udp4_type);
#if defined(CONFIG_IPV6) ||
defined(CONFIG_IPV6_MODULE)
xprt_register(&xs_udp6_type);
#endif
xprt_register(&xs_tcp4_type);
#if defined(CONFIG_IPV6) ||
defined(CONFIG_IPV6_MODULE)
xprt_register(&xs_tcp6_type);
}The above code must add to "xprt_list". Note that, I configured my kernel with CONFIG_IPV6.
Quoted 4 lines · --- Rajesham Gajjela
Did any body test nfs (v2 and v3) over ipv6 ? do you guys claim "this feature suppose to work" ?
Quoted 8 lines
It did not work for me. Here are the details of experiments I did (for me server and client is same):
1) Kernel side : Linux-2.6.12-5 + linux-2.6.12-rc6-CITI_NFS4_ALL-1.dif + Chuck Lever Transport Patch
(http://oss.oracle.com/~cel/linux-2.6/2.6.12/release-notes.html)
Quoted 5 lines
2) User land (tools) side: libtirpc-0.1.7-1 +
rpcbind-0.1.4 + nfs-utils-1.1.1 + quota-3.12-5(Ref:
http://nfsv4.bullopensource.org/patches/nfsv4_ipv6-2)
Quoted 32 lines
3) rpcbind suppose to recognize ipv6/ipv4 tcp/udp protocols (after modifying
/etc/netconfig). I didsoftlink of
/usr/bin/rpcbindto/sbin/portmap). Then did "service portmap restart".
Then "service nfs restart". NFS services failed.syslog messages:
Mar 13 19:32:20 DXi5500-12345 nfs: Starting NFS services: succeeded Mar 13 19:32:20 DXi5500-12345 nfs: rpc.rquotad startup succeeded Mar 13 19:32:20 DXi5500-12345 kernel: RPC: transport (2/17) not supported Mar 13 19:32:20 DXi5500-12345 last message repeated 2 times Mar 13 19:32:20 DXi5500-12345 nfsd[12453]: nfssvc: Input/output error Mar 13 19:32:20 DXi5500-12345 nfs: rpc.nfsd startup failed Mar 13 19:32:20 DXi5500-12345 nfs: rpc.mountd startup succeeded Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.idtoname/channel' failed:
errno 2 (No such file or directory)
Quoted 12 lines
Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.nametoid/channel' failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpcidmapd: rpc.idmapd-SIGHUP succeeded
____________________________________________________________________________________
Quoted 3 lines
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
A message that is not in the archive (sent off-list or not yet received): 573299.38219.qm-NzHz0fVKiIyvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org
Rajesham-
IPv6 is not supported for NFS. The code you are looking at is a development snapshot.
Quoted 106 lines · Rajesham Gajjela
Quoted 2 lines
Mar 13 19:32:20 DXi5500-12345 kernel: RPC: transport(2/17) not supported
After looking at the code (
include/linux/socket.h):
#defineAF_INET2 /* Internet IP
Protocol */
include/linux/in.h:
IPPROTO_UDP= 17, /* User Datagram
Protocol */Why 2/17 (which is AF_INET/IPPROTO_UDP) not
registered ?Looking at the register code:
net/sunrpc/xprtsock.c:
static int__initinit_xs_transport(void){ xprt_register(&xs_udp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_udp6_type); #endif xprt_register(&xs_tcp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_tcp6_type); }The above code must add to "
xprt_list". Note that, I configured my kernel withCONFIG_IPV6.Quoted 4 lines · --- Rajesham Gajjela
Did any body test nfs (v2 and v3) over ipv6 ? do you guys claim "this feature suppose to work" ?
Quoted 8 lines
It did not work for me. Here are the details of experiments I did (for me server and client is same):
1) Kernel side : Linux-2.6.12-5 + linux-2.6.12-rc6-CITI_NFS4_ALL-1.dif + Chuck Lever Transport Patch
(http://oss.oracle.com/~cel/linux-2.6/2.6.12/release-notes.html)
Quoted 5 lines
2) User land (tools) side: libtirpc-0.1.7-1 +
rpcbind-0.1.4 + nfs-utils-1.1.1 + quota-3.12-5(Ref:
http://nfsv4.bullopensource.org/patches/nfsv4_ipv6-2)
Quoted 32 lines
3) rpcbind suppose to recognize ipv6/ipv4 tcp/udp protocols (after modifying
/etc/netconfig). I didsoftlink of
/usr/bin/rpcbindto/sbin/portmap). Then did "service portmap restart".
Then "service nfs restart". NFS services failed.syslog messages:
Mar 13 19:32:20 DXi5500-12345 nfs: Starting NFS services: succeeded Mar 13 19:32:20 DXi5500-12345 nfs: rpc.rquotad startup succeeded Mar 13 19:32:20 DXi5500-12345 kernel: RPC: transport (2/17) not supported Mar 13 19:32:20 DXi5500-12345 last message repeated 2 times Mar 13 19:32:20 DXi5500-12345 nfsd[12453]: nfssvc: Input/output error Mar 13 19:32:20 DXi5500-12345 nfs: rpc.nfsd startup failed Mar 13 19:32:20 DXi5500-12345 nfs: rpc.mountd startup succeeded Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.idtoname/channel' failed:
errno 2 (No such file or directory)Quoted 12 lines
Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.nametoid/channel' failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpcidmapd: rpc.idmapd-SIGHUP succeeded
____________________________________________________________________________________
Quoted 3 lines
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Quoted 7 lines
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
Thanks Chuck for the quick reply.
- this support is not there even in latest
kernels (2.6.24 and such) ?
- Whats is your plan on this ? Do you think,
it can be done any time soon ?
Rajesham
Quoted 44 lines · --- Chuck Lever
Rajesham-
IPv6 is not supported for NFS. The code you are
looking at is a
development snapshot.Quoted 1 line · Rajesham Gajjela
Quoted 1 line
Mar 13 19:32:20 DXi5500-12345 kernel: RPC:transport
Quoted 3 lines
Quoted 1 line
(2/17) not supported
After looking at the code
(
include/linux/socket.h):Quoted 11 lines
#define
AF_INET2 /* Internet IP
Protocol */
include/linux/in.h:
IPPROTO_UDP= 17, /* User Datagram
Protocol */Why 2/17 (which is AF_INET/IPPROTO_UDP) not
registered ?Looking at the register code:
net/sunrpc/xprtsock.c:Quoted 18 lines
static int
__initinit_xs_transport(void){ xprt_register(&xs_udp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_udp6_type); #endif xprt_register(&xs_tcp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_tcp6_type); }The above code must add to "
xprt_list". Note that, I configured my kernel withCONFIG_IPV6.
Quoted 17 lines
Quoted 5 lines
Quoted 3 lines · --- Rajesham Gajjela
Did any body test nfs (v2 and v3) over ipv6 ?
do you guys claim "this feature suppose to work"?
Quoted 10 lines
Quoted 9 lines
It did not work for me. Here are the details of
experiments I did (for me server and client is
same):1) Kernel side : Linux-2.6.12-5 +
linux-2.6.12-rc6-CITI_NFS4_ALL-1.dif +
Chuck Lever Transport Patch
(http://oss.oracle.com/~cel/linux-2.6/2.6.12/release-notes.html)
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
2) User land (tools) side: libtirpc-0.1.7-1 +
rpcbind-0.1.4 + nfs-utils-1.1.1 +quota-3.12-5
Quoted 3 lines
Quoted 2 lines
(Ref:
http://nfsv4.bullopensource.org/patches/nfsv4_ipv6-2)
Quoted 45 lines
Quoted 3 lines
Quoted 3 lines
3) rpcbind suppose to recognize ipv6/ipv4 tcp/udp
protocols (after modifying/etc/netconfig). Idid
Quoted 2 lines
Quoted 2 lines
softlink of
/usr/bin/rpcbindto
/sbin/portmap).Quoted 2 lines
Quoted 2 lines
Then did "service portmap restart".
Then "service nfs restart". NFS servicesfailed.
Quoted 9 lines
Quoted 9 lines
syslog messages:
Mar 13 19:32:20 DXi5500-12345 nfs: Starting NFS services: succeeded Mar 13 19:32:20 DXi5500-12345 nfs: rpc.rquotad startup succeeded Mar 13 19:32:20 DXi5500-12345 kernel: RPC:transport
Quoted 2 lines
Quoted 2 lines
(2/17) not supported
Mar 13 19:32:20 DXi5500-12345 last messagerepeated
Quoted 3 lines
Quoted 3 lines
2
timesMar 13 19:32:20 DXi5500-12345 nfsd[12453]:nfssvc:
Quoted 2 lines
Quoted 2 lines
Input/output error
Mar 13 19:32:20 DXi5500-12345 nfs: rpc.nfsdstartup
Quoted 7 lines
Quoted 7 lines
failed
Mar 13 19:32:20 DXi5500-12345 nfs: rpc.mountd startup succeeded Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.idtoname/channel'Quoted 8 lines
Quoted 8 lines
failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.nametoid/channel'
failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpcidmapd:
Quoted 9 lines
rpc.idmapd
Quoted 7 lines
Quoted 6 lines
-SIGHUP succeeded
______________________________________________________________________
Quoted 11 lines
Quoted 10 lines
______________
Quoted 3 lines
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
______________________________________________________________________
Quoted 18 lines
Quoted 6 lines
______________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
To unsubscribe from this list: send the line"unsubscribe linux-
Quoted 3 lines
nfs" in
the body of a message to [email protected] More majordomo info athttp://vger.kernel.org/majordomo-info.html
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
Quoted 7 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
A message that is not in the archive (sent off-list or not yet received): 206342.91146.qm-uHTUF03blOmvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org
Quoted 3 lines · Rajesham Gajjela
Thanks Chuck for the quick reply.
- this support is not there even in latest
kernels (2.6.24 and such) ?
IPv6 support in Linux NFS is not complete even in the latest upstream kernels, although more of it has been filled in than existed in the 2.6.12 patches.
Quoted 2 lines
- Whats is your plan on this ? Do you think,
it can be done any time soon ?
I gave a short presentation at LSF '08 a couple of weeks ago describing progress and plans:
http://oss.oracle.com/~cel/LSF-08-NFS-IPv6.pdf
The slides are rather sparse, but there was hand waving that went with the slides.
Quoted 169 lines
Quoted 44 lines · --- Chuck Lever
Rajesham-
IPv6 is not supported for NFS. The code you are
looking at is a
development snapshot.Quoted 1 line · Rajesham Gajjela
Quoted 1 line
Mar 13 19:32:20 DXi5500-12345 kernel: RPC:transport
Quoted 3 lines
Quoted 1 line
(2/17) not supported
After looking at the code
(
include/linux/socket.h):Quoted 11 lines
#define
AF_INET2 /* Internet IP
Protocol */
include/linux/in.h:
IPPROTO_UDP= 17, /* User Datagram
Protocol */Why 2/17 (which is AF_INET/IPPROTO_UDP) not
registered ?Looking at the register code:
net/sunrpc/xprtsock.c:Quoted 18 lines
static int
__initinit_xs_transport(void){ xprt_register(&xs_udp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_udp6_type); #endif xprt_register(&xs_tcp4_type); #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) xprt_register(&xs_tcp6_type); }The above code must add to "
xprt_list". Note that, I configured my kernel withCONFIG_IPV6.Quoted 17 lines
Quoted 5 lines
Quoted 3 lines · --- Rajesham Gajjela
Did any body test nfs (v2 and v3) over ipv6 ?
do you guys claim "this feature suppose to work"?
Quoted 10 lines
Quoted 9 lines
It did not work for me. Here are the details of
experiments I did (for me server and client is
same):1) Kernel side : Linux-2.6.12-5 +
linux-2.6.12-rc6-CITI_NFS4_ALL-1.dif +
Chuck Lever Transport Patch(http://oss.oracle.com/~cel/linux-2.6/2.6.12/release-notes.html)
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
2) User land (tools) side: libtirpc-0.1.7-1 +
rpcbind-0.1.4 + nfs-utils-1.1.1 +quota-3.12-5
Quoted 3 lines
Quoted 2 lines
(Ref:
http://nfsv4.bullopensource.org/patches/nfsv4_ipv6-2)
Quoted 45 lines
Quoted 3 lines
Quoted 3 lines
3) rpcbind suppose to recognize ipv6/ipv4 tcp/udp
protocols (after modifying/etc/netconfig). Idid
Quoted 2 lines
Quoted 2 lines
softlink of
/usr/bin/rpcbindto
/sbin/portmap).Quoted 2 lines
Quoted 2 lines
Then did "service portmap restart".
Then "service nfs restart". NFS servicesfailed.
Quoted 9 lines
Quoted 9 lines
syslog messages:
Mar 13 19:32:20 DXi5500-12345 nfs: Starting NFS services: succeeded Mar 13 19:32:20 DXi5500-12345 nfs: rpc.rquotad startup succeeded Mar 13 19:32:20 DXi5500-12345 kernel: RPC:transport
Quoted 2 lines
Quoted 2 lines
(2/17) not supported
Mar 13 19:32:20 DXi5500-12345 last messagerepeated
Quoted 3 lines
Quoted 3 lines
2
timesMar 13 19:32:20 DXi5500-12345 nfsd[12453]:nfssvc:
Quoted 2 lines
Quoted 2 lines
Input/output error
Mar 13 19:32:20 DXi5500-12345 nfs: rpc.nfsdstartup
Quoted 7 lines
Quoted 7 lines
failed
Mar 13 19:32:20 DXi5500-12345 nfs: rpc.mountd startup succeeded Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.idtoname/channel'Quoted 8 lines
Quoted 8 lines
failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpc.idmapd:nfsdreopen:
Opening '/proc/net/rpc/nfs4.nametoid/channel'
failed:
errno 2 (No such file or directory)Mar 13 19:32:20 DXi5500-12345 rpcidmapd:Quoted 9 lines
rpc.idmapd
Quoted 7 lines
Quoted 6 lines
-SIGHUP succeeded
______________________________________________________________________
Quoted 11 lines
Quoted 10 lines
______________
Quoted 3 lines
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs______________________________________________________________________
Quoted 18 lines
Quoted 6 lines
______________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
To unsubscribe from this list: send the line"unsubscribe linux-
Quoted 3 lines
nfs" in
the body of a message to [email protected] More majordomo info athttp://vger.kernel.org/majordomo-info.html
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]comQuoted 7 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 3 lines
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com