qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re


From: Prof. Dr. Michael Schefczyk
Subject: Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)
Date: Tue, 25 Nov 2014 11:49:21 +0000

Dear Kevin,

thank you very much! For the moment, I did stabilize my systems with these 
commands. For a next step, will explore three further options, which should all 
solve the issue better:

- move to ovirt altogether - probably as foolproof as needed at my skill level

- install ovirt's qemu-kvm-rhev to use the more extensive options

- move to QMP

Thanks again also to Paolo and Eric for providing substantial insights!

Regards,

Michael

-----Ursprüngliche Nachricht-----
Von: Kevin Wolf [mailto:address@hidden 
Gesendet: Dienstag, 25. November 2014 12:34
An: Prof. Dr. Michael Schefczyk
Cc: Eric Blake; Paolo Bonzini; qemu-devel
Betreff: Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was 
Re: AW: Bug Repoting Directions Request)

Am 22.11.2014 um 18:02 hat Prof. Dr. Michael Schefczyk geschrieben:
> Dear All,
> 
> after some trying, my impression is that the following steps do work with 
> plain Centos 7:
> 
> virsh snapshot-create-as VM backsnap
> qemu-img convert -f qcow2 -s backsnap -O qcow2 VM.img backup.img virsh 
> snapshot-delete VM backsnap
> 
> Am I on the right track with these commands?

I won't tell you that you're bound to break your image with this sequence, 
because chances are that you won't break it. (In practice, this happens to work 
in most cases, because the essential snapshot metadata generally isn't written 
to without explicit user actions on that snapshot.)

But you're violating the rule of "one writer or many readers", so as far as 
qemu is concerned, we won't be careful to avoid breaking this setup.
Don't blame us if it fails one day.

With the QMP solutions (either drive-backup or snapshot/commit) you're using 
official APIs, so I'd encourage you to use these.

Kevin

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]