[Openstack] lunr reference iSCSI target driver

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue May 3 10:05:45 UTC 2011


Thanks for the explanation!

On Mon, 2 May 2011 21:12:22 -0700
Michael Barton <mike-launchpad at weirdlooking.com> wrote:

> What I've been playing with is having a manifest that contains hashes
> of (4mb) chunks for the volume's backups.  When a user initiates a new
> backup, dm-snapshot does its thing and gives me a block device.  I
> read and hash chunks from that block device and compare them to the
> manifest, uploading any that differ to Swift, then update the manifest
> with the new backup.

Ah, you read and hash chunks from the "whole" block device. I
misunderstood the point.

> The restore uses fuse with some basic bitmap logic to lazy load chunks
> from Swift on demand, plus a background thread that fills them in
> autonomously.  I've been pretty happy with fuse's performance and
> stability (python-fuse that is; fusepy is really slow).

You create a loopback device of the fuse file and set up a dm-snap
device by using it, right?

Tomo




More information about the Openstack mailing list