[libvirt-users] RBD images locking

Daniel P. Berrange berrange at redhat.com
Fri Nov 8 05:32:11 UTC 2013


On Thu, Nov 07, 2013 at 09:08:58AM -0700, Eric Blake wrote:
> On 11/07/2013 09:04 AM, NEVEU Stephane wrote:
> > Eric,
> 
> [please don't top-post on technical lists]
> 
> > 
> > Well, in case where several servers may start the same virtual machines after a reboot for exemple.
> > http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-August/003887.html
> 
> Isn't the existing virtlockd support already sufficient for this?  If
> not, what is preventing the virtlock framework from interacting with rbd
> disks?

Nothing really. The current impl only deals with disks with type=file
or type=block, ignoring type=network. We could extend it to cope with
the latter though - either using a URI to uniquely identify the network
storage, or better yet using some unique volume ID if available.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list