Re: qcow2 corruption observed, fixed by reverting old change

2009-02-15 Thread Marc Bevand
On Sun, Feb 15, 2009 at 3:46 AM, Marc Bevand wrote: > Other factors you might consider when trying to reproduce: [...] And the probability of that bug occuring seems less than 1% (I only witnessed 6 or 7 occurences out of about a thousand shutdown events). Also, contrary to what I said I am *not

Re: qcow2 corruption observed, fixed by reverting old change

2009-02-15 Thread Marc Bevand
On Sun, Feb 15, 2009 at 2:57 AM, Gleb Natapov wrote: > > I am not able to reproduce this. After more then hundred boot linux; generate > disk io; quit loops all I've got is an image with 7 leaked blocks and > couple of filesystem corruptions that were fixed by fsck. The type of activity occuring

Re: qcow2 corruption observed, fixed by reverting old change

2009-02-15 Thread Gleb Natapov
> > I tested kvm-81 and kvm-83 as well (can't test kvm-80 or older because of > > the > > qcow2 performance regression caused by the default writethrough caching > > policy) > > but it randomly triggers an even worse bug: the moment I shut down a guest > > by > > typing "quit" in the monitor, it

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-14 Thread Marc Bevand
On Sat, Feb 14, 2009 at 2:28 PM, Dor Laor wrote: > > Both qcow2 and vmdk have the ability to keep 'external' snapshots. I know but they don't implement one feature I cited: clones, or "writable snapshots", which I would like implemented with support for deduplication. Base images / backing files

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-14 Thread Jamie Lokier
Marc Bevand wrote: > On Fri, Feb 13, 2009 at 8:23 AM, Jamie Lokier wrote: > > > > Marc.. this is quite a serious bug you've reported. Is there a > > reason you didn't report it earlier? > > Because I only started hitting that bug a couple weeks ago after > having upgraded to a buggy kvm version

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-14 Thread Jamie Lokier
Dor Laor wrote: > Both qcow2 and vmdk have the ability to keep 'external' snapshots. I didn't see any mention of this in QEMU's documentation. One of the most annoying features of qcow2 is "savevm" storing all VM snapshots in the same qcow2 file. Is this not true? > In addition to what you wrot

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-14 Thread Dor Laor
Marc Bevand wrote: On Fri, Feb 13, 2009 at 8:23 AM, Jamie Lokier wrote: Marc.. this is quite a serious bug you've reported. Is there a reason you didn't report it earlier? Because I only started hitting that bug a couple weeks ago after having upgraded to a buggy kvm version. I

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-13 Thread Marc Bevand
On Fri, Feb 13, 2009 at 8:23 AM, Jamie Lokier wrote: > > Marc.. this is quite a serious bug you've reported. Is there a > reason you didn't report it earlier? Because I only started hitting that bug a couple weeks ago after having upgraded to a buggy kvm version. > Is there a way to restructur

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-13 Thread Chris Wright
* Jamie Lokier (ja...@shareable.org) wrote: > no reason to believe kvm-83 is "stable", but there's no reason to > believe any other version of KVM is especially stable either - there's > no stabilising bug fix only branch that I'm aware of. There's ad-hoc one w/out formal releases. But...never be

Re: [Qemu-devel] Re: qcow2 corruption observed, fixed by reverting old change

2009-02-13 Thread Jamie Lokier
Marc Bevand schrieb: > I tested kvm-81 and kvm-83 as well (can't test kvm-80 or older > because of the qcow2 performance regression caused by the default > writethrough caching policy) but it randomly triggers an even worse > bug: the moment I shut down a guest by typing "quit" in the monitor, > it

Re: qcow2 corruption observed, fixed by reverting old change

2009-02-13 Thread Kevin Wolf
Hi Marc, You should not take qemu-devel out of the CC list. This is where the bugs need to be fixed, they aren't KVM specific. I'm quoting your complete mail to forward it to where it belongs. Marc Bevand schrieb: > Jamie Lokier shareable.org> writes: >> As you see from the subject, I'm getting

Re: qcow2 corruption observed, fixed by reverting old change

2009-02-12 Thread Marc Bevand
Jamie Lokier shareable.org> writes: > > As you see from the subject, I'm getting qcow2 corruption. > > I have a Windows 2000 guest which boots and runs fine in kvm-72, fails > with a blue-screen indicating file corruption errors in kvm-73 through > to kvm-83 (the latest), and succeeds if I repla

Re: qcow2 corruption?

2009-01-09 Thread Ryan Harper
* John Morrissey [2009-01-08 21:44]: > On Thu, Jan 08, 2009 at 02:33:28PM -0600, Anthony Liguori wrote: > > John Morrissey wrote: > > >I'm encountering what seems like disk corruption when using qcow2 images, > > >created with 'kvm-img create -f qcow2 image.qcow2 15G'. > > > > > >A simple test cas

Re: qcow2 corruption?

2009-01-08 Thread John Morrissey
On Thu, Jan 08, 2009 at 02:33:28PM -0600, Anthony Liguori wrote: > John Morrissey wrote: > >I'm encountering what seems like disk corruption when using qcow2 images, > >created with 'kvm-img create -f qcow2 image.qcow2 15G'. > > > >A simple test case is to use the Debian installer (I'm using the le

Re: qcow2 corruption?

2009-01-08 Thread Anthony Liguori
John Morrissey wrote: I'm encountering what seems like disk corruption when using qcow2 images, created with 'kvm-img create -f qcow2 image.qcow2 15G'. A simple test case is to use the Debian installer (I'm using the lenny rc1 images from http://www.debian.org/devel/debian-installer/) to install

Re: qcow2 corruption?

2009-01-08 Thread John Morrissey
On Thu, Jan 08, 2009 at 02:10:31PM -0600, Ryan Harper wrote: > * John Morrissey [2009-01-08 13:28]: > > I'm encountering what seems like disk corruption when using qcow2 images, > > created with 'kvm-img create -f qcow2 image.qcow2 15G'. > > using ide or scsi as your block device? IDE. > > A si

Re: qcow2 corruption?

2009-01-08 Thread Ryan Harper
* John Morrissey [2009-01-08 13:28]: > I'm encountering what seems like disk corruption when using qcow2 images, > created with 'kvm-img create -f qcow2 image.qcow2 15G'. > using ide or scsi as your block device? > A simple test case is to use the Debian installer (I'm using the lenny rc1 > ima