From owner-freebsd-fs@FreeBSD.ORG Wed Oct 1 03:02:10 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B24E3203 for ; Wed, 1 Oct 2014 03:02:10 +0000 (UTC) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81DA3D15 for ; Wed, 1 Oct 2014 03:02:10 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id y13so226245pdi.33 for ; Tue, 30 Sep 2014 20:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=ReHO2zwr6jE40e/UsGoDan4F1RxnRYVrDoxS9UrV5dU=; b=ijCdnS2eajKR/ME/63yxaRTBT5OqmML1imMzmi0eTN1kpcDcvAB8SSfxjr/KT378Bt jr5rZKP+zA3k1UbaelpXp8ZdrcyIWlVUPZJwU37g7pCJncWxFw1nPhL8U27mebROEekj 7Xo9xSYh8KsMJwE5g+nO5Tc76ztShzgaAV1W11TQ+jLexY2JSagvARBV/U9/CrglDeFc ZxuOlziLGZ/882MZ4MAtmu1DAgd7WAJNrXm1MFArZxjYjkK6xdoNEnEJhMPvHtUFPL3u 2n64vvFGPVo1pWIKa3vfmIu0hx/d9PZSVdskaCY0X3y07sc17SRo5hH08zixaOVkJi5n Lz1A== X-Received: by 10.68.194.66 with SMTP id hu2mr3158522pbc.19.1412132529997; Tue, 30 Sep 2014 20:02:09 -0700 (PDT) Received: from macmini.internal.coolpeople.us ([2001:470:b:2d8::8001]) by mx.google.com with ESMTPSA id n3sm7214838pda.7.2014.09.30.20.02.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 20:02:09 -0700 (PDT) From: John Terrell Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: zfs-send/receive between FreeBSD10 and SmartOS (Illumos) fails. Date: Tue, 30 Sep 2014 20:02:07 -0700 References: <37BD986A-9B05-4CE8-9D55-CAB4B2713D9D@gmail.com> <99C93627-2B9C-423F-9C3D-D8B6ACB9C74A@gmail.com> <5C3F3898-9C40-48A6-9B8D-C2118448BE42@gmail.com> To: "freebsd-fs@freebsd.org" In-Reply-To: X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 03:02:10 -0000 Sure. On the SmartOS (receiving) side: [root@smartos /]# zpool get all zones | grep feature@ zones feature@async_destroy enabled = local zones feature@empty_bpobj active = local zones feature@lz4_compress active = local zones feature@multi_vdev_crash_dump enabled = local zones feature@spacemap_histogram active = local zones feature@enabled_txg active = local zones feature@hole_birth active = local zones feature@extensible_dataset enabled = local zones feature@embedded_data active = local zones feature@bookmarks enabled = local zones feature@filesystem_limits enabled = local =85on the FreeBSD 10 (sending) side: [root@freebsd /]# zpool get all tank | grep feature@ tank feature@async_destroy enabled = local tank feature@empty_bpobj active = local tank feature@lz4_compress active = local tank feature@multi_vdev_crash_dump enabled = local So, the FreeBSD side is a subset of the SmartOS side. On Sep 30, 2014, at 7:51 PM, Rich wrote: > It's possible that your feature flags and the receiving end's aren't > compatible - can you show us a zfs get all tank on both sides? >=20 > - Rich >=20 > On Tue, Sep 30, 2014 at 10:39 PM, John Terrell = wrote: >> By the way, here's another report that sounds similar to mine (though = on Linux): >>=20 >> = http://stackoverflow.com/questions/19754375/why-does-zsh-send-fail-midway >>=20 >> His repro doesn't even use ssh (appears to be completely local). >>=20 >>=20 >> On Sep 30, 2014, at 6:41 PM, John Terrell = wrote: >>=20 >>> Sorry for the tardy response (busy at work. :)). Here's the = command and output (run from the SmartOS box): >>>=20 >>> ssh -c arcfour256 root@freebsdnas zfs send -R tank@daily20140920 | = zfs receive -v -F zones/tank >>>=20 >>> The output (after running for a long time xferring data): >>>=20 >>> receiving full stream of tank@daily20140920 into = zones/tank@daily20140920 >>> received 1.35GB stream in 15 seconds (91.9MB/sec) >>> receiving full stream of tank/photography@daily20140920 into = zones/tank/photography@daily20140920 >>> Read from remote host nas00: Connection reset by peer >>> cannot receive new filesystem stream: invalid backup stream >>>=20 >>>=20 >>> Is it possible the command is simply timing out for some reason and = closing the connection? >>>=20 >>>=20 >>> On Sep 26, 2014, at 3:04 PM, Will Andrews wrote: >>>=20 >>>> What do the zfs commands print? The -v option prints some metadata = that might help diagnose the problem. >>>>=20 >>>> --Will. >>>>=20 >>>> On Monday, September 22, 2014, John Terrell = wrote: >>>> Hello all, I'm trying to replicate one of the ZFS filesystems that = lives on my FreeBSD 10 NAS to a SmartOS (Illumos based) server. The = transfer dies at about the 1.7TB (of almost 4TB) mark indicating: >>>>=20 >>>> "cannot receive incremental stream: invalid backup stream" >>>>=20 >>>> The stream being sent is not incremental so I'm not sure what the = receiver is trying to do. Here's the command I'm using to transfer = (executed on the SmartOS machine): >>>>=20 >>>> ssh root@fbsd10 zfs send -v -R tank@daily20140920 | zfs receive -v = tank >>>>=20 >>>> I've also tried to use mbuffer as the transport interface (removing = SSH from the equation) and it has the same result. >>>>=20 >>>> Is the possibly an incompatibility between FreeBSD10 and SmartOS = ZFS implementations? >>>> _______________________________________________ >>>> 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" >>>=20 >>=20 >> _______________________________________________ >> 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"