From owner-freebsd-fs@FreeBSD.ORG Fri Oct 25 19:36:33 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 A63983F4; Fri, 25 Oct 2013 19:36:33 +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 71FB22CAD; Fri, 25 Oct 2013 19:36:33 +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=Ta1WFlndqeSA+7LyOoX/XWU6ekfzHc/nc0CbgJaHHo0=; b=Bx1pUpVWKhIMce5HaLqyFAeKpbOWBhsRX4Hj5vmQC//zQUs3b5/5A3j2d8kae9XxF1PliWu8uc7OXb+SXuh1GAmfEuXB6Rr5ZLeGHDLmHktfMqql4QAhnHqvjDpGbr2t4XjNSP37FPEzWxGhOVpVyQ39o4K6CbpVfRbsAvAzGVI=; Received: from localhost.lerctr.org ([127.0.0.1]:12582 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VZnBO-0003Xc-VB; Fri, 25 Oct 2013 14:36:32 -0500 Received: from [32.97.110.59] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 25 Oct 2013 14:36:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 25 Oct 2013 14:36:30 -0500 From: Larry Rosenman To: Garrett Wollman Subject: Re: ZFS: Invalid SEND/RECV stream still In-Reply-To: <201310251933.r9PJX8sx086597@hergotha.csail.mit.edu> References: <201310251933.r9PJX8sx086597@hergotha.csail.mit.edu> Message-ID: <29a687d287cf28d34283566eba509486@webmail.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.9.5 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 Cc: Freebsd fs , current@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: Fri, 25 Oct 2013 19:36:33 -0000 On 2013-10-25 14:33, Garrett Wollman wrote: > In article , > Larry Rosenman wrote: > >> 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 > > I've seen this happen in one very specific case: if the receiving > machine is doing automatic snapshots, and happens to do a snapshot of > the filesystem being received *while it's being received*. In that > case, it appears that the filesystem on disk gets subtly corrupted, > and the only remedy is to destroy it on the receiving machine and > start all over (making sure to disable automatic snapshots this time). > > "zfs receive -F" will rollback snapshots made on the receiving system > that don't exist on the sending system, but it only does this at the > beginning of the stream -- it can't prevent further snapshots from > being taken during reception of an incremental stream which foul up > the works. > > -GAWollman There are NO automatic snapshots in play here at all :( -- 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