From owner-freebsd-fs@FreeBSD.ORG Wed Mar 6 00:53:01 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 03950E74 for ; Wed, 6 Mar 2013 00:53:01 +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 C1E287C2 for ; Wed, 6 Mar 2013 00:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=PlPMrofuptvChD68UeBWFf3wqTgJ5qeTizLBacyYG68=; b=QOgHhLTT+XJA6RjRdCcW115eRhlUi9oc53pRi0R/K/OAzIiphxZECSPDCwucrUOtPfERJlmy228vVs3svRrdtSiKxQIErz720MifcVTE0yTI8YNPWhIa+2xcP+RHZiCA7/APUNiBYweDuD9UaRrZEOjhgRW5eZftvdOY4PffWSw=; Received: from lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net ([2001:470:1f0e:3ad::2]:30174) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UD2bJ-000CdF-ST; Tue, 05 Mar 2013 18:52:58 -0600 Date: Tue, 5 Mar 2013 18:52:54 -0600 (CST) From: Larry Rosenman To: Steven Hartland Subject: Re: zfs send/recv invalid data In-Reply-To: <612228ABB8BC423D907C9538783667A4@multiplay.co.uk> Message-ID: References: <7c93aef20a88cdbcca85739e67470dce@webmail.lerctr.org> <25894116c93a59dab1fd976b425c36d1@webmail.lerctr.org> <07b59d5d4b2a3dab1385b054eea4f2da@webmail.lerctr.org> <612228ABB8BC423D907C9538783667A4@multiplay.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1,BAYES_00=-1.9 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1,BAYES_00=-1.9 Cc: freebsd-fs@freebsd.org, Ronald Klop 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:53:01 -0000 On Wed, 6 Mar 2013, Steven Hartland wrote: > ----- Original Message ----- From: "Larry Rosenman" >> 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..... > > How recent is you receiving box? FreeBSD borg.lerctr.org 10.0-CURRENT FreeBSD 10.0-CURRENT #124 r247826: Mon Mar 4 19:59:08 CST 2013 root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64 > > Does verbose give you any more information? that is -v output. Other ideas? > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and the > person or entity to whom it is addressed. In the event of misdirection, the > recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893