From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 04:02:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A60416A4CE; Mon, 12 Jul 2004 04:02:25 +0000 (GMT) Received: from black3.imgsrc.co.jp (black3.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62DD043D48; Mon, 12 Jul 2004 04:02:24 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black3.imgsrc.co.jp (Postfix) with ESMTP id 5D83050BD6; Mon, 12 Jul 2004 13:02:23 +0900 (JST) Received: from black3.imgsrc.co.jp (black3.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black3.imgsrc.co.jp (Postfix) with ESMTP id DDF2150BD4; Mon, 12 Jul 2004 13:02:21 +0900 (JST) Date: Mon, 12 Jul 2004 13:02:21 +0900 Message-ID: <7mzn65vpo2.wl@black3.imgsrc.co.jp> From: Jun Kuriyama To: Alfred Perlstein 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> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 cc: Current cc: rwatson@FreeBSD.org Subject: Re: NFS over IPv6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 04:02:25 -0000 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 [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 (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 // IMG SRC, Inc. // FreeBSD Project