Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 15:33:08 -0400 (EDT)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        current@freebsd.org
Cc:        ler@lerctr.org
Subject:   Re: ZFS: Invalid SEND/RECV stream still
Message-ID:  <201310251933.r9PJX8sx086597@hergotha.csail.mit.edu>
References:  <c0a42b456769e22f908e689a1de56c82@webmail.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <c0a42b456769e22f908e689a1de56c82@webmail.lerctr.org>,
Larry Rosenman  <ler@lerctr.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310251933.r9PJX8sx086597>