Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 14:09:03 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: complete clone/restore from a ZFS-based system replication stream
Message-ID:  <20160928070903.GA18170@admin.sibptus.transneft.ru>
In-Reply-To: <05adb002-85c7-1728-6943-30f171c5f03a@FreeBSD.org>
References:  <20160926154720.GA75556@admin.sibptus.transneft.ru> <688eec35-bc7b-ae05-b765-106933b522d1@sentex.net> <20160927085322.GA96393@admin.sibptus.transneft.ru> <78faa2e2-0e44-27ef-eaf0-0f0fc358cc09@sentex.net> <20160928023144.GA8980@admin.sibptus.transneft.ru> <20160928023521.GA9537@admin.sibptus.transneft.ru> <05adb002-85c7-1728-6943-30f171c5f03a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> > but what if I just wanted to test the stream without actually receiving it?
> 
> Pipe the stream into zstreamdump(8) -- this will print out headers and
> some statistics from the stream and verify all of the checksums.

A good tool, but... I have deliberately manually corrupted a
stream and fed it to zstreamdump. It found an "Incorrect checksum in
record header" but zstreamdump's exit code is still 0. 


:-(


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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