Re: [Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption

2015-04-07 Thread leijian
unexpectedly and is allocated again? If it was not accessing the image from more than one process, any other exceptions I can test for? Thanks leijian From: Eric Blake Date: 2015-04-07 23:27 To: Kevin Wolf; leijian CC: qemu-devel; stefanha Subject: Re: [Qemu-devel] [Snapshot Bug?]Qcow2 meta data

Re: [Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption

2015-04-07 Thread Eric Blake
On 04/07/2015 03:33 AM, Kevin Wolf wrote: > More specifically, did you take care to never access your image from > more than one process (except if both are read-only)? It happens > occasionally that people use 'qemu-img snapshot' while the VM is > running. This is wrong and can corrupt the image.

Re: [Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption

2015-04-07 Thread Kevin Wolf
Am 03.04.2015 um 12:04 hat leijian geschrieben: > Hi all, > > There was a problem about qcow2 image file happened in my serval vms and I > could not figure it out, > so have to ask for some help. > [...] > I think the problem is relate to the snapshot create, delete. But I cant > reproduce it .

[Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption

2015-04-03 Thread leijian
Hi all, There was a problem about qcow2 image file happened in my serval vms and I could not figure it out, so have to ask for some help. Here is the thing: At first, I found there were some data corruption in a vm, so I did qemu-img check to all my vms. parts of check report: 3-Leaked clust

[Qemu-devel] [Snapshot Bug?]Qcow2 meta data corruption

2015-04-03 Thread leijian
Hi all, There was a problem about qcow2 image file happened in my serval vms and I could not figure it out, so have to ask for some help. Here is the thing: At first, I found there were some data corruption in a vm, so I did qemu-img check to all my vms. parts of check report: 3-Leaked clust

Re: [Qemu-devel] snapshot question- how to fetch the tmp file?

2011-03-31 Thread Mulyadi Santosa
2011/3/31 涂化衍 : > Dear Mr/Miss, It's Mr :) > Thanks for your information. We have already found "something" in this path. > But, this problem is still alive. We can't restore this virtual machine on > another physical machine from host A to host B by using snapshot I might misunderstood your pro

Re: [Qemu-devel] snapshot question- how to fetch the tmp file?

2011-03-31 Thread Mulyadi Santosa
On Thu, Mar 31, 2011 at 13:39, 涂化衍 wrote: > Dear all, > > I have a question to use the qemu-snapshot. > While I create a snapshot file, and use it to restore my vm, everything is > okay. > But, I can't find the temp_snapshot file on my system. It seems like a > invisit file. > How can I get it in

[Qemu-devel] snapshot question- how to fetch the tmp file?

2011-03-30 Thread 涂化衍
Dear all, I have a question to use the qemu-snapshot. While I create a snapshot file, and use it to restore my vm, everything is okay. But, I can't find the temp_snapshot file on my system. It seems like a invisit file. How can I get it in my system. Or, could you show me how to fetch it? Thanks,

Re: [Qemu-devel] -snapshot

2010-12-17 Thread Kevin Wolf
Am 16.12.2010 19:16, schrieb Stefan Weil: > Am 16.12.2010 18:45, schrieb Stefan Hajnoczi: >> On Thu, Dec 16, 2010 at 4:34 PM, Amador Pahim wrote: >>> Thank you for your answer. Just one more question: If, while my >>> "snapshot" vms are running, the main disk is modified by a non >>> "snapshot" vm

Re: [Qemu-devel] -snapshot

2010-12-16 Thread Amador Pahim
Thanks. Some stuff are clear now. I started a VDI Open Source project (http://www.ucs.br/projeto/osdvt/) and your information will help a lot. Pahim On Thu, Dec 16, 2010 at 4:16 PM, Stefan Weil wrote: > Am 16.12.2010 18:45, schrieb Stefan Hajnoczi: >> >> On Thu, Dec 16, 2010 at 4:34 PM, Amador P

Re: [Qemu-devel] -snapshot

2010-12-16 Thread Stefan Weil
Am 16.12.2010 18:45, schrieb Stefan Hajnoczi: On Thu, Dec 16, 2010 at 4:34 PM, Amador Pahim wrote: Thank you for your answer. Just one more question: If, while my "snapshot" vms are running, the main disk is modified by a non "snapshot" vm? For example, installing some extra software.. this can

Re: [Qemu-devel] -snapshot

2010-12-16 Thread Stefan Hajnoczi
On Thu, Dec 16, 2010 at 4:34 PM, Amador Pahim wrote: > Thank you for your answer. Just one more question: If, while my > "snapshot" vms are running, the main disk is modified by a non > "snapshot" vm? For example, installing some extra software.. this can > freeze vms or something? Correct, it is

Re: [Qemu-devel] -snapshot

2010-12-16 Thread Amador Pahim
Hello Stefan, Thank you for your answer. Just one more question: If, while my "snapshot" vms are running, the main disk is modified by a non "snapshot" vm? For example, installing some extra software.. this can freeze vms or something? Regards, Pahim On Thu, Dec 16, 2010 at 2:28 PM, Stefan Hajno

Re: [Qemu-devel] -snapshot

2010-12-16 Thread Stefan Hajnoczi
On Thu, Dec 16, 2010 at 4:21 PM, Amador Pahim wrote: > Is a bad idea if I run multiples "qemu" vms pointing to the same disk > img using "-snapshot" parameter? What kind of problem may I have? It should work fine. -snapshot means that QEMU creates a temporary qcow2 file backed by the disk image

[Qemu-devel] -snapshot

2010-12-16 Thread Amador Pahim
Hello, Is a bad idea if I run multiples "qemu" vms pointing to the same disk img using "-snapshot" parameter? What kind of problem may I have? Thanks,

Re: [Qemu-devel] [Snapshot Mode]

2010-09-27 Thread edison
savevm will take disk snapshot also, then you can copy the snapshot out of disk image to another storage. I had posted two patches about it: http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.html and http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg00655.html. FYI. BTW, if

[Qemu-devel] [Snapshot Mode]

2010-09-23 Thread Benjamin Kormann
Hi there, we've been using qemu for quite a while on different platforms and we'd like to perform snapshots on running qemu machines and tar them onto a backup server. The qemu-img snapshot can only be applied to inactive qemu machines (images), hence this is not applicable. The savevm command w

Re: [Qemu-devel] -snapshot and tmpsfs

2006-11-19 Thread Ottavio Caruso
> From: Michael McConnell > On Sat, 18 Nov 2006, Ottavio Caruso wrote: > > > Are the writes to tmpfs (in a *nix guest OS) recorded to the > > snapshotted image? > > > > Example: /var/run on tmpfs > > OS writes to /var/run. Bigger temp file or not? > > This isn't a guaranteed certain answer, bu

Re: [Qemu-devel] -snapshot and tmpsfs

2006-11-18 Thread Michael McConnell
On Sat, 18 Nov 2006, Ottavio Caruso wrote: > Are the writes to tmpfs (in a *nix guest OS) recorded to the > snapshotted image? > > Example: /var/run on tmpfs > OS writes to /var/run. Bigger temp file or not? This isn't a guaranteed certain answer, but IIRC tmpfs uses system RAM and swap as its

[Qemu-devel] -snapshot and tmpsfs

2006-11-18 Thread Ottavio Caruso
Are the writes to tmpfs (in a *nix guest OS) recorded to the snapshotted image? Example: /var/run on tmpfs OS writes to /var/run. Bigger temp file or not? Thank you Ottavio Sponsored Link Compare mortgage r

[Qemu-devel] -snapshot otion and writes to (flash) disk

2006-11-06 Thread Ottavio Caruso
Hello qemu-devel, I'm trying to determine whether the -snapshot option is a valid one to minimize writes to disk (in my case a flash drive). In particular I wonder if the final write, that is the one you do with the 'commit hda' in the qemu monitor, is the exact sum of all the individual writes or

[Qemu-devel] -snapshot problem

2006-08-24 Thread IdaRub
So I'm very unfamiliar with the QEMU codebase, but it seems like there was a bug introduced recently that causes -snapshot to no longer work. Maybe I'm missing something, and the semantics have just changed since multiple snapshot support? Anyway, rev 1.29 to block.c (http://cvs.savannah.gnu.org/