Re: ZFS: Invalid SEND/RECV stream still

From: Garrett Wollman <wollman_at_hergotha.csail.mit.edu>
Date: Fri, 25 Oct 2013 15:33:08 -0400 (EDT)
In article <c0a42b456769e22f908e689a1de56c82_at_webmail.lerctr.org>,
Larry Rosenman  <ler_at_lerctr.org> wrote:

>Error Message:
>received 320KB stream in 1 seconds (320KB/sec)
>receiving incremental stream of vault/var_at_2013-10-25 into 
>zroot/backups/TBH/var_at_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
Received on Fri Oct 25 2013 - 17:33:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC