Re: NFS over IPv6

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Mon, 12 Jul 2004 13:02:21 +0900
At Sun, 11 Jul 2004 20:48:47 -0700,
Alfred Perlstein wrote:
> I'm going to make a patch to set the SO_REUSEADDR and SO_REUSEPORT
> on the sockets.
> 
> I'm also going to bump the timeout from 5 to 12 seconds.

Thanks!  I can test on my box when you make a patch.

> If there is a timeout, NFS will rebind the socket.  In theory this should
> be ok as NFS is stateless.  Perhaps there is some IPv6 thing that makes
> rebound sockets not work right?
> 
> Is there a reason why that might be the case?

I'm not sure there is a timeout in this case.

When I'm in this situation, NFS client seems to continue retrying
every 1 second.  Port number in "udp port 973 unreachable" is
decremented in every retry sequence.

12:54:48.667923 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0x28b390f3:0|1448) 2001:218:422:2::XXXX.1474192946 > 2001:218:422:2::YYYY.2049: 1440 write fh 1034,59016/16425390 6678 bytes _at_ 0x0 <unstable> [flowlabel 0xcc0ae] (len 1456, hlim 64)
12:54:48.667956 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0x28b390f3:1448|1448) [flowlabel 0xcc0ae] (len 1456, hlim 64)
12:54:48.667990 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0x28b390f3:2896|1448) [flowlabel 0xcc0ae] (len 1456, hlim 64)
12:54:48.668015 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0x28b390f3:4344|1448) [flowlabel 0xcc0ae] (len 1456, hlim 64)
12:54:48.668040 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0x28b390f3:5792|1044) [flowlabel 0xcc0ae] (len 1052, hlim 64)
12:54:48.669158 2001:218:422:2::YYYY.2049 > 2001:218:422:2::XXXX.1474192946: reply ok 160 write PRE: sz 0x0 mtime 1089604487.000000 ctime 1089604487.000000 POST: REG 664 ids 1000/1000 sz 0x1a16 nlink 1 rdev 64/65601748 fsid 0x420 fileid 0xfaa1ae a/m/ctime 1089598958.000000 1089604487.000000 1089604487.000000 6678 bytes <unstable> (len 168, hlim 64)
12:54:48.669321 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: [icmp6 sum ok] icmp6: 2001:218:422:2::XXXX udp port 973 unreachable (len 216, hlim 64)


-- 
Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Mon Jul 12 2004 - 02:02:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC