xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* want to write a difference copy program to sync two VHDs in blktap
@ 2012-08-10 22:56 R J
       [not found] ` <CAO14VsOkki7FUZFJ65RRXkXfQBY_nU-pb=brHDL+Yiwh_42YLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: R J @ 2012-08-10 22:56 UTC (permalink / raw)
  To: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR,
	xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR


[-- Attachment #1.1: Type: text/plain, Size: 1188 bytes --]

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: 1558 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-16 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).