Date: Tue, 05 Mar 2013 18:13:47 -0600 From: Larry Rosenman <ler@lerctr.org> To: Ronald Klop <ronald-freebsd8@klop.yi.org> Cc: freebsd-fs@freebsd.org Subject: Re: zfs send/recv invalid data Message-ID: <07b59d5d4b2a3dab1385b054eea4f2da@webmail.lerctr.org> In-Reply-To: <25894116c93a59dab1fd976b425c36d1@webmail.lerctr.org> References: <7c93aef20a88cdbcca85739e67470dce@webmail.lerctr.org> <op.wthqmth68527sy@212-182-167-131.ip.telfort.nl> <25894116c93a59dab1fd976b425c36d1@webmail.lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ler@lerctr.org> >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07b59d5d4b2a3dab1385b054eea4f2da>