From owner-freebsd-fs@FreeBSD.ORG Fri Oct 25 17:07:58 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 310E5CEB; Fri, 25 Oct 2013 17:07:58 +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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 004822400; Fri, 25 Oct 2013 17:07:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=y6TshWEsn56vRtXXF8HJDawcSIby5qM4A1xuTZ/574s=; b=K9XDPc3hNLiA1wa5kMU51jwyI4GTpd1ezso3DdIa3+TTkiQ4/ZuxocJUzZkBQVCIjxdu/HyuMu+VDOruLYrxU7I9qQbZeOMnb1g2/GYmSh7TZbYivrpgJ35GWoBvw2MKtS8zNMS3gyy1qneEq+eqmnnofSjZaK7WZLnIQHQgSdg=; Received: from localhost.lerctr.org ([127.0.0.1]:36833 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VZkra-000LIK-NZ; Fri, 25 Oct 2013 12:07:56 -0500 Received: from [32.97.110.59] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 25 Oct 2013 12:07:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 25 Oct 2013 12:07:54 -0500 From: Larry Rosenman To: Freebsd fs , Freebsd current Subject: ZFS: Invalid SEND/RECV stream still Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.9.4 X-Spam-Score: -3.3 (---) X-LERCTR-Spam-Score: -3.3 (---) X-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.375 X-LERCTR-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.375 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, 25 Oct 2013 17:07:58 -0000 between 10.0-BETA1 and 11.0-CURRENT. I've been fighting this battle for a LONG time. I had hoped(!) that it would be solved by the systems being closer in rev but that didn't happen. I'd LOVE someone to look at it. I can provide ssh / root access to both machines. Error Message: received 320KB stream in 1 seconds (320KB/sec) receiving incremental stream of vault/var@2013-10-25 into zroot/backups/TBH/var@2013-10-25 cannot receive incremental stream: invalid backup stream $ Script: $ cat backup-TBH-ZFS.sh #!/bin/sh DATE=`date "+%Y-%m-%d"` #DATE2=2013-03-24 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} | \ ssh home.lerctr.org \"zfs recv -F -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 $ Uname's: $ uname -a FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #80 r257016: Wed Oct 23 17:36:15 CDT 2013 root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64 $ ssh tbh uname -a FreeBSD thebighonker.lerctr.org 10.0-BETA1 FreeBSD 10.0-BETA1 #1 r256791: Sun Oct 20 12:28:55 CDT 2013 root@thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER amd64 $ What else do y'all need? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688