[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: After power reset, LMDB sub-DBs' key-pairs are missing



Hi,

On Tue, 15 Mar 2016, Arto Bendiken wrote:
What is a "power reset of a virtual machine"? A virtual power reset (i.e. reset), or a power reset of the host?
In the latter case some writes that the VM considers done may not be committed on the host, depending on the exact configuration. You didn't give any details on that, so I can only guess...

The latter, with the VM's virtio disks being LVM volumes assigned and
dedicated to it using libvirt--a run-of-the-mill configuration.

LVM does an extremely bad job of properly implementing write barriers so you can achieve an inconsitent state that is hard to recover from.

Greetings
Christian

--
Christian Kratzer                   CK Software GmbH
Email:   ck@cksoft.de               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer
Web:     http://www.cksoft.de/