[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: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request) |
Date: |
Tue, 25 Nov 2014 12:34:05 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
pgpXvzlQ2goFw.pgp
Description: PGP signature
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), (continued)
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Max Reitz, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Prof. Dr. Michael Schefczyk, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Paolo Bonzini, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Prof. Dr. Michael Schefczyk, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Paolo Bonzini, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Eric Blake, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Prof. Dr. Michael Schefczyk, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Eric Blake, 2014/11/19
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Prof. Dr. Michael Schefczyk, 2014/11/22
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Paolo Bonzini, 2014/11/24
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request),
Kevin Wolf <=
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Prof. Dr. Michael Schefczyk, 2014/11/25
- Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request), Kashyap Chamarthy, 2014/11/24