Skip to contentSkip to conversation

Does the 2.6.34 kernel support NFS over IPv6?

DISCUSSION Ben Greear 3 participants 4 messages Sep 1, 2010 – Sep 2, 2010

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

If not, do more recent kernels?

I'm using Fedora 13.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw

Yes. We tested at connectathon with Fedora.

Quoted 3 lines · Ben Greear

If not, do more recent kernels?

I'm using Fedora 13.

Should work if configured properly.

/Sorin

Quoted 4 lines

Thanks,
Ben

Signature · 11 lines
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division

       EMC²
where information lives

Phone: 508-435-1000 x 48545
Cellphone: 617-510-0422
Email : [email protected]
author
#2 lore raw
Quoted 10 lines · Sorin Faibish

Yes. We tested at connectathon with Fedora.

Quoted 3 lines · Ben Greear

If not, do more recent kernels?

I'm using Fedora 13.

Should work if configured properly.

How about as a server? It doesn't seem to listen on IPv6 addresses. I tried 2.6.36-rc2+ kernel as well.

I tried setting /etc/exports to look like this:

[root@localhost ~]# more /etc/exports
/exports/tmp [2002::0/16](rw)

[root@localhost ~]# netstat -an|grep LISTEN |grep 2049
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN

I'm trying to test some NFS/IPv6 client changes, but I need at least a minimal IPv6 server to test against!

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#3 lore raw
Quoted 20 lines · On Wed, 01 Sep 2010 16:50:06 -0700 Ben Greear <[email protected]> wrote:
Quoted 10 lines · Sorin Faibish

Yes. We tested at connectathon with Fedora.

Quoted 3 lines · Ben Greear

If not, do more recent kernels?

I'm using Fedora 13.

Should work if configured properly.

How about as a server? It doesn't seem to listen on IPv6 addresses. I tried 2.6.36-rc2+ kernel as well.

I tried setting /etc/exports to look like this:

[root@localhost ~]# more /etc/exports
/exports/tmp [2002::0/16](rw)

Quoted 9 lines

[root@localhost ~]# netstat -an|grep LISTEN |grep 2049
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN

I'm trying to test some NFS/IPv6 client changes, but I need at least a minimal IPv6 server to test against!

Thanks,
Ben

Not quite -- we tested an earlier version of Chuck's mountd/exportfs patches at Connectathon. Those are still not merged yet in mainline nfs-utils.

For now, no Linux distro that I know of has server-side IPv6 support. Once Chuck finishes posting his patches for mountd and exportfs, and those are merged in mainline nfs-utils, it will.

The kernel is pretty much IPv6-ready though, so once you have a suitably enabled nfs-utils it should work. If you want to play with the patches for this, you can pull down Chuck's git repo from here:

http://git.linux-nfs.org/?p=cel/nfs-utils.git;a=summary

Cheers,

Signature · 1 line
Jeff Layton <[email protected]>