[libvirt] Bug 526913 - libvirt does not lock disk files

Daniel P. Berrange berrange at redhat.com
Mon Mar 22 09:43:53 UTC 2010

On Fri, Mar 19, 2010 at 04:21:43PM -0400, Ric Foster wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=526913
> Will this bug get fixed?  I had hoped the using CLVM would keep the
> guest disk image from getting corrupted if a running guest was
> inadvertently started on another cluster node. 

There is a plan for fixing this, but I've not had time to write up the 
proposal for the mailing list, nor work on implementation.  We don't
want to hardcode a simple fcntl() style locking, since some of our users
have needs for other locking mechanisms (libdlm, and Disk Paxos)

|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list