From owner-freebsd-fs@FreeBSD.ORG Wed Mar 6 00:13:51 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 257AC70 for ; Wed, 6 Mar 2013 00:13:51 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id CAB1263E for ; Wed, 6 Mar 2013 00:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=ZmheHPK/chYQ1nIz/4t0RWHwGzljH68koPoXWyuDqHY=; b=UqlSGHDgs11Zpa1Fv0pcKo76/qHJBqYeb4XZkJAB9Vo1uBDn5YcsJU5nUBP3qXq80YW4ukmuv1NII+3Ljpmju8AdcH/mweOtkbd47nXygRNohWjZVamzNbpqqWYgnGduf5rtStpWLAZ01dyZeEGCcLz7GXe8sqcP13we0bIsi/M=; Received: from localhost.lerctr.org ([127.0.0.1]:62515 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UD1zQ-000CGc-RC; Tue, 05 Mar 2013 18:13:49 -0600 Received: from cpe-72-182-19-162.austin.res.rr.com ([72.182.19.162]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 05 Mar 2013 18:13:47 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 05 Mar 2013 18:13:47 -0600 From: Larry Rosenman To: Ronald Klop Subject: Re: zfs send/recv invalid data In-Reply-To: <25894116c93a59dab1fd976b425c36d1@webmail.lerctr.org> References: <7c93aef20a88cdbcca85739e67470dce@webmail.lerctr.org> <25894116c93a59dab1fd976b425c36d1@webmail.lerctr.org> Message-ID: <07b59d5d4b2a3dab1385b054eea4f2da@webmail.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.8.5 X-Spam-Score: -3.5 (---) X-LERCTR-Spam-Score: -3.5 (---) X-Spam-Report: SpamScore (-3.5/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.628 X-LERCTR-Spam-Report: SpamScore (-3.5/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.628 Cc: freebsd-fs@freebsd.org 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: Wed, 06 Mar 2013 00:13:51 -0000 On 2013-03-05 14:52, Larry Rosenman wrote: > On 2013-03-05 14:45, Ronald Klop wrote: >> On Tue, 05 Mar 2013 21:12:40 +0100, Larry Rosenman >> wrote: >> >>> I received an "invalid data" in a zfs send (from 8.3) / zfs recv (to >>> 10.0) of a -R -I stream. >>> What data do I need to gather to figure out what side and what's >>> wrong? >>> I've already started zpool scrubs on both sides. >>> I can insert a tee to grab the stream on either/both sides if that >>> would help. >>> >>> >>> >> Is the problem repeatable or is it just a network glitch? >> Ronald. > Repeatable....... Here is the exact error message: receiving incremental stream of vault/home/ctr@2013-03-05-test3 into zroot/backups/TBH/home/ctr@2013-03-05-test3 cannot receive incremental stream: invalid backup stream this is the script I'm running: #!/bin/sh DATE=`date "+%Y-%m-%d-BUG-REPRO"` DATE2=`date -v "-1d" "+%Y-%m-%d"` # snap the source ssh root@tbh.lerctr.org zfs snapshot -r vault@${DATE} # zfs copy the source to here. ssh root@tbh.lerctr.org "zfs send -R -D -I vault@${DATE2} vault@${DATE} | \ tee /tmp/backup.stream.send.${DATE} | \ ssh home.lerctr.org \"tee /tmp/backup.stream.receive.${DATE} | zfs recv -u -v -d zroot/backups/TBH\"" # make sure we NEVER allow the backup stuff to automount. /sbin/zfs list -H -t filesystem -r zroot/backups/TBH| \ awk '{printf "/sbin/zfs set canmount=noauto %s\n",$1}' | sh both streams are in http://www.lerctr.org/~ler/ZFS_RECV as well as a zfs list -t all from both sides..... HELP.... -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893