From owner-freebsd-fs@FreeBSD.ORG Fri Jun 14 07:04:28 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 88D4F8E6 for ; Fri, 14 Jun 2013 07:04:28 +0000 (UTC) (envelope-from Ivailo.Tanusheff@skrill.com) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe003.messaging.microsoft.com [216.32.181.183]) by mx1.freebsd.org (Postfix) with ESMTP id 3872016D4 for ; Fri, 14 Jun 2013 07:04:27 +0000 (UTC) Received: from mail97-ch1-R.bigfish.com (10.43.68.225) by CH1EHSOBE018.bigfish.com (10.43.70.68) with Microsoft SMTP Server id 14.1.225.23; Fri, 14 Jun 2013 07:04:26 +0000 Received: from mail97-ch1 (localhost [127.0.0.1]) by mail97-ch1-R.bigfish.com (Postfix) with ESMTP id 168152E033F; Fri, 14 Jun 2013 07:04:26 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.213; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0710HT001.eurprd07.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: -3 X-BigFish: PS-3(z54eehz98dI9371I542I1432I4015Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz17326ah8275bh8275dhz2fh2a8h668h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh9a9j1155h) Received-SPF: pass (mail97-ch1: domain of skrill.com designates 157.56.249.213 as permitted sender) client-ip=157.56.249.213; envelope-from=Ivailo.Tanusheff@skrill.com; helo=AM2PRD0710HT001.eurprd07.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:DBXPR07MB062; H:DBXPR07MB064.eurprd07.prod.outlook.com; LANG:en; Received: from mail97-ch1 (localhost.localdomain [127.0.0.1]) by mail97-ch1 (MessageSwitch) id 1371193463719231_26787; Fri, 14 Jun 2013 07:04:23 +0000 (UTC) Received: from CH1EHSMHS026.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.231]) by mail97-ch1.bigfish.com (Postfix) with ESMTP id A3C94460244; Fri, 14 Jun 2013 07:04:23 +0000 (UTC) Received: from AM2PRD0710HT001.eurprd07.prod.outlook.com (157.56.249.213) by CH1EHSMHS026.bigfish.com (10.43.70.26) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 14 Jun 2013 07:04:22 +0000 Received: from DBXPR07MB062.eurprd07.prod.outlook.com (10.242.147.20) by AM2PRD0710HT001.eurprd07.prod.outlook.com (10.255.165.36) with Microsoft SMTP Server (TLS) id 14.16.324.0; Fri, 14 Jun 2013 07:04:12 +0000 Received: from DBXPR07MB064.eurprd07.prod.outlook.com (10.242.147.24) by DBXPR07MB062.eurprd07.prod.outlook.com (10.242.147.20) with Microsoft SMTP Server (TLS) id 15.0.702.21; Fri, 14 Jun 2013 07:04:11 +0000 Received: from DBXPR07MB064.eurprd07.prod.outlook.com ([169.254.7.13]) by DBXPR07MB064.eurprd07.prod.outlook.com ([169.254.7.13]) with mapi id 15.00.0702.005; Fri, 14 Jun 2013 07:04:11 +0000 From: Ivailo Tanusheff To: Jona Schuman , abhay trivedi , "freebsd-fs@freebsd.org" Subject: RE: zfs send/recv dies when transferring large-ish dataset Thread-Topic: zfs send/recv dies when transferring large-ish dataset Thread-Index: AQHOZ8ZVUN+hFJBhLk6aHw9omdejRZkzQxIggACKgICAAGOU04AAmc2g Date: Fri, 14 Jun 2013 07:04:10 +0000 Message-ID: <97ca7eedc13f4b2b809945d067a732b6@DBXPR07MB064.eurprd07.prod.outlook.com> References: <57e0551229684b69bc27476b8a08fb91@DB3PR07MB059.eurprd07.prod.outlook.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.18.249.148] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: skrill.com X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 07:04:28 -0000 This sounds to me as a communicational problem or system getting out of mem= ory ... -----Original Message----- From: owner-freebsd-fs@freebsd.org [mailto:owner-freebsd-fs@freebsd.org] On= Behalf Of Jona Schuman Sent: Friday, June 14, 2013 12:52 AM To: abhay trivedi; freebsd-fs@freebsd.org Subject: Re: zfs send/recv dies when transferring large-ish dataset atime is off on both origin and destination datasets On Thu, Jun 13, 2013 at 5:30 PM, abhay trivedi wr= ote: > Can you set atime off on Destination file system and try again? > > > > On Thu, Jun 13, 2013 at 9:26 PM, Jona Schuman wro= te: >> >> machine2# nc -d -l 9999 | zfs receive -v -F -d storagepool machine1#=20 >> zfs send -v -R dataset@snap | nc machine2 9999 >> >> machine1-output: sending from @ to dataset@snap >> machine2-output: receiving full stream of dataset@snap into=20 >> storagepool/dataset@snap >> machine1-output: warning: cannot send 'dataset@snap': Broken pipe >> machine1-output: Broken pipe >> >> >> On Thu, Jun 13, 2013 at 3:42 AM, Ivailo Tanusheff=20 >> wrote: >> > Hi, >> > >> > Can you try send/recv with the -v or with -vP swiches, so you can=20 >> > see more verbose information? >> > >> > Regards, >> > Ivailo Tanusheff >> > >> > -----Original Message----- >> > From: owner-freebsd-fs@freebsd.org=20 >> > [mailto:owner-freebsd-fs@freebsd.org] >> > On Behalf Of Jona Schuman >> > Sent: Thursday, June 13, 2013 2:41 AM >> > To: freebsd-fs@freebsd.org >> > Subject: zfs send/recv dies when transferring large-ish dataset >> > >> > Hi, >> > >> > I'm getting some strange behavior from zfs send/recv and I'm hoping=20 >> > someone may be able to provide some insight. I have two identical=20 >> > machines running 9.0-RELEASE-p3, each having a ZFS pool (zfs 5,=20 >> > zpool >> > 28) for storage. I want to use zfs send/recv for replication=20 >> > between the two machines. For the most part, this has worked as expect= ed. >> > However, send/recv fails when transferring the largest dataset=20 >> > (both in actual size and in terms of number of files) on either machin= e. >> > With these datasets, issuing: >> > >> > machine2# nc -d -l 9999 | zfs recv -d storagepool machine1# zfs=20 >> > send dataset@snap | nc machine2 9999 >> > >> > terminates early on the sending side without any error messages.=20 >> > The receiving end continues on as expected, cleaning up the partial=20 >> > data received so far and reverting to its initial state. (I've=20 >> > tried using mbuffer instead of nc, or just using ssh, both with=20 >> > similar results.) Oddly, zfs send dies slightly differently=20 >> > depending on how the two machines are connected. When connected=20 >> > through the racktop switch, zfs send dies quietly without any indicati= on that the transfer has failed. >> > When connected directly using a crossover cable, zfs send dies=20 >> > quietly and machine1 becomes unresponsive (no network, no keyboard,=20 >> > hard reset required). In both cases, no messages are printed to=20 >> > screen or to anything in /var/log/. >> > >> > >> > I can transfer the same datasets successfully if I send/recv=20 >> > to/from >> > file: >> > >> > machine1# zfs send dataset@snap > /tmp/dump machine1# scp /tmp/dump=20 >> > machine2:/tmp/dump machine2# zfs recv -d storagepool < /tmp/dump >> > >> > so I don't think the datasets themselves are the issue. I've also=20 >> > successfully tried send/recv over the network using different=20 >> > network interfaces (10GbE ixgbe cards instead of the 1GbE igb=20 >> > links), which would suggest the issue is with the 1GbE links. >> > >> > Might there be some buffering parameter that I'm neglecting to=20 >> > tune, which is essential on the 1GbE links but may be less=20 >> > important on the faster links? Are there any known issues with the=20 >> > igb driver that might be the culprit here? Any other suggestions? >> > >> > Thanks, >> > Jona >> > _______________________________________________ >> > freebsd-fs@freebsd.org mailing list=20 >> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> > >> > >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > > -- > T@J _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"