All of lore.kernel.org
 help / color / mirror / Atom feed
* Cloning rados block devices
@ 2011-01-23 14:07 Chris Webb
  2011-01-24 14:39 ` Gregory Farnum
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Webb @ 2011-01-23 14:07 UTC (permalink / raw)
  To: ceph-devel

I have a hosting product which consists of qemu-kvm virtual machines backed
by LVM2 logical volumes as virtual drives, accessed either locally or over
iscsi. I'm thinking of migrating in time to a distributed block store, such
as Ceph's rbd or Sheepdog.

One feature I would really like to be able to export to users is an ability
to make copy-on-write clones of virtual hard drives, in a Ceph context
generating a new rbd image from an existing one, or from a snapshot of an
existing image if that's easier.

I've seen Ceph's snapshot support, and in particular the rbd snapshot
support, which lets me make read-only clones of a rados block device.

What I'm after is not quite the same as writeable snapshots, as I'd also
like to be able to offer the user the ability to delete the original block
device independently of the clone, potentially before the clone itself is
deleted, so the clone is properly independent of the source apart from some
shared blocks. (If I stored my images as files in a local btrfs filesystem,
I could get exactly the behaviour I'm imagining by cloning the image file.)

I don't see any mention of a feature like this on the Ceph roadmap, and I'm
not familiar enough with the internal design yet to know whether this is an
easy extension given the book-keeping already in place for snapshots, or
whether what I'm proposing is much harder. Is anyone working on this sort of
thing already, or does the feature even already exist and I've failed to
find it? If not, I'd be very interested in any thoughts on how difficult
this would be to implement given the infrastructure that is already in
place.

Best wishes,

Chris.

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

end of thread, other threads:[~2011-02-04 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-23 14:07 Cloning rados block devices Chris Webb
2011-01-24 14:39 ` Gregory Farnum
2011-01-25 23:41   ` Yehuda Sadeh Weinraub
2011-02-04 14:31     ` Chris Webb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.