From owner-freebsd-stable@FreeBSD.ORG Fri Jun 29 13:23:51 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B49B106566B for ; Fri, 29 Jun 2012 13:23:51 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id A78E38FC14 for ; Fri, 29 Jun 2012 13:23:50 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q5TDNmbg016877 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2012 14:23:49 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FEDAC64.3070203@unsane.co.uk> Date: Fri, 29 Jun 2012 14:23:48 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: nfs problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 13:23:51 -0000 On 29/06/2012 10:45, Daniel Braniss wrote: >> Hi, >> starting about last week, I'm getting: >> >> rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken >> pipe (32) >> rsync: write failed on "/net/rnd/dist/tmp/local/amd64.FreeBSD_8.3-wip/compat/li >> nux/usr/lib/locale/locale-archive.tmpl": Permission denied (13) >> rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.9] >> rsync: connection unexpectedly closed (21872 bytes received so far) [sender] >> rsync error: error in rsync protocol data stream (code 12) at io.c(605) >> [sender=3.0.9] >> >> the server is running 8.2, but the client is very upto date, 8.3-stable as of >> this morning >> (local time). >> >> after runing rsync several times, it finaly gets synced. >> >> another item is that i'm using am-utils, but I don't see it causing the problem >> >> I will try using tcp (instead of udp) soon. >> >> any insights? >> >> cheers, >> danny > the problem is most probably NFS/UDP related. > > I took am-utils out of the equation. > mounted using TCP, and no problems > mounted using UDP: > Jun 29 12:38:14 pe-02 kernel: nfs server nrnfdn:sf/s ds isseterr:vve ernr o > trrnn dd:r:e/s/pddoinisdsitt::n nngoo > Jun 29 12:38:14 pe-02 kernel: tt > Jun 29 12:38:14 pe-02 kernel: > Jun 29 12:38:14 pe-02 kernel: <<66>> rreessppoonnddiinngg > Jun 29 12:38:14 pe-02 kernel: > Jun 29 12:38:14 pe-02 kernel: nfs server rnd:/dist: not responding > Jun 29 12:38:14 pe-02 last message repeated 11 times > Jun 29 12:38:27 pe-02 kernel: nfs server rnd:/dist: is alive again > > the above happens about every 15 seconds > (you have to learn to read in between the bytes :-) > > cheers, > danny > Its also possible you are hitting a bug I came across recently. See http://lists.freebsd.org/pipermail/freebsd-current/2012-June/034860.html basicly mountd may give incorrect permission denied errors when it is refreshing the exports list due to non-atomic operations. see kern/131342 kern/136865 also. Vince > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"