Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 13:02:21 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        rwatson@FreeBSD.org
Subject:   Re: NFS over IPv6
Message-ID:  <7mzn65vpo2.wl@black3.imgsrc.co.jp>
In-Reply-To: <20040712034847.GV95729@elvis.mu.org>
References:  <7mk6xey51w.wl@black3.imgsrc.co.jp> <7m8ydqvuaq.wl@black3.imgsrc.co.jp> <20040712034847.GV95729@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 @ 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@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mzn65vpo2.wl>