From: Rajesham Gajjela <rajeshamg@yahoo.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org, aime.le-rouzic@bull.net,
aurelien.charbon-Z51IpKcfGtLk1uMJSBkQmQ@public.gmane.org,
gilles.quillard@bull.net
Subject: Re: nfs over ipv6 support
Date: Thu, 13 Mar 2008 18:00:21 -0700 (PDT) [thread overview]
Message-ID: <206342.91146.qm@web30507.mail.mud.yahoo.com> (raw)
In-Reply-To: <F11CAB15-CAB6-45C3-9672-6232E162E605@oracle.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
--- Chuck Lever <chuck.lever@oracle.com> wrote:
> Rajesham-
>
> IPv6 is not supported for NFS. The code you are
> looking at is a
> development snapshot.
>
> On Mar 13, 2008, at 10:31 AM, Rajesham Gajjela
> wrote:
> >> 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.
> >
> >
> >
> > --- Rajesham Gajjela <rajeshamg@yahoo.com> wrote:
> >
> >>
> >> Did any body test nfs (v2 and v3) over ipv6 ?
> >> do you guys claim "this feature suppose to work"
> ?
> >>
> >> 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)
> >>
> >> 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)
> >>
> >> 3) rpcbind suppose to recognize ipv6/ipv4 tcp/udp
> >> protocols (after modifying /etc/netconfig). I
> did
> >>
> >> softlink of /usr/bin/rpcbind to
> /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)
> >> 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
> >>
> >>
> >>
> >>
> >>
> >
>
______________________________________________________________________
>
> > ______________
> >> 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
> > --
> > To unsubscribe from this list: send the line
> "unsubscribe linux-
> > nfs" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
> --
> Chuck Lever
> chuck[dot]lever[at]oracle[dot]com
>
>
>
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> 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
next prev parent reply other threads:[~2008-03-14 1:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 14:31 nfs over ipv6 support Rajesham Gajjela
[not found] ` <573299.38219.qm-NzHz0fVKiIyvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2008-03-13 18:13 ` Chuck Lever
2008-03-14 1:00 ` Rajesham Gajjela [this message]
[not found] ` <206342.91146.qm-uHTUF03blOmvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2008-03-14 14:45 ` Chuck Lever
-- strict thread matches above, loose matches on Subject: below --
2008-03-13 13:26 [PATCH] nfs: fix encode_fsinfo_maxsz Benny Halevy
2008-03-13 14:08 ` nfs over ipv6 support Rajesham Gajjela
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=206342.91146.qm@web30507.mail.mud.yahoo.com \
--to=rajeshamg@yahoo.com \
--cc=aime.le-rouzic@bull.net \
--cc=aurelien.charbon-Z51IpKcfGtLk1uMJSBkQmQ@public.gmane.org \
--cc=chuck.lever@oracle.com \
--cc=gilles.quillard@bull.net \
--cc=linux-nfs@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox