From: R J <torushikeshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
Subject: Re: want to write a difference copy program to sync two VHDs in blktap
Date: Thu, 16 Aug 2012 22:09:56 +0530 [thread overview]
Message-ID: <CAO14VsN5jZzJssK-hXO2=SCiMZjT6HYULAL9S+Lo2pe9kG48iw@mail.gmail.com> (raw)
In-Reply-To: <CAO14VsOkki7FUZFJ65RRXkXfQBY_nU-pb=brHDL+Yiwh_42YLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1670 bytes --]
Hello,
I tried to copy the VHD in two ways. One by using xe vm-copy command and
other simple cp.
Im verifying the blocks with vhd-read command. VHD created by vm-copy has
different BAT and BITMAP than the original one.
But with cp the BAT and BITMAP remains same as its a mirror copy.
Still no big improvements.
-- Rishi
On Sat, Aug 11, 2012 at 4:26 AM, R J <torushikeshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello List,
>
> I'm using blktap on XCP 1.1 and developing a difference copy program for
> easy backup and remote archival.
>
> The idea is to read the BAT of VHD1 and sync it to BAT of VHD2 with BITMAP
> and the data blocks.
> Other way would be by adding a sha1 signature in each data block and
> comparing it with remote VHD.
>
> I tried to get some info from below programs but could not get required
> info about adding a sha1 sign of data block while writing it.
> Similar to ZFS this can be used to verify file integrity ?
> May be if someone can guide me about how to inject data while writing it
> in data block of VHD.
>
> Please advice.
>
> -- Rishi
>
> On Mon, Aug 6, 2012 at 9:26 PM, R J <torushikeshj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> Hello List,
>>
>> I would like to know details of tapdisk-diff and tapdisk-stream
>> My aim is to find differences in two vhds and if possible sync them for
>> redundancy via a difference-copy program
>>
>> The idea is
>> - find the journel difference of src and dest VHD
>> - copy journel and modified blocks from src VHD to dest VHD for backup.
>>
>> in my case both are nfs vhds.
>>
>> Could anyone please provide me more info on above two programs ?
>>
>> - Rishi
>>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2331 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2012-08-16 16:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 22:56 want to write a difference copy program to sync two VHDs in blktap R J
[not found] ` <CAO14VsOkki7FUZFJ65RRXkXfQBY_nU-pb=brHDL+Yiwh_42YLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-16 16:39 ` R J [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO14VsN5jZzJssK-hXO2=SCiMZjT6HYULAL9S+Lo2pe9kG48iw@mail.gmail.com' \
--to=torushikeshj-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org \
--cc=xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).