Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-25 Thread Prof. Dr. Michael Schefczyk
chael 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

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-25 Thread Kevin Wolf
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 snap

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-24 Thread Paolo Bonzini
On 22/11/2014 18:02, Prof. Dr. Michael Schefczyk wrote: > The further features seem to be reserved to RHEL (and potentially > other distributions) but not included in Centos: > > virsh snapshot-create-as issues "Live Disk Snapshot not supported in > this version of QEMU" (retranslated from Germa

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-24 Thread Kashyap Chamarthy
On Wed, Nov 19, 2014 at 11:13:27AM -0700, Eric Blake wrote: > On 11/19/2014 10:32 AM, Prof. Dr. Michael Schefczyk wrote: [. . .] > > virsh snapshot-create-as vm XXX --disk-only qemu-img convert -f > > qcow2 -s XXX -O qcow2 XXX.img /backup/YYY.img virsh snapshot-delete > > vm XXX > > Yes, virsh i

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-22 Thread Prof. Dr. Michael Schefczyk
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? The furthe

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Eric Blake
On 11/19/2014 10:32 AM, Prof. Dr. Michael Schefczyk wrote: > Dear Eric, dear all, > > Again, thank you very much. I now gather that I took the wrong path towards > nightly backups of running VM. I remain surprised that I did work for a > relatively long time. [can you convince your mailer to wr

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Prof. Dr. Michael Schefczyk
ber 2014 16:44 An: Paolo Bonzini; Prof. Dr. Michael Schefczyk; qemu-devel Betreff: Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request) On 11/19/2014 07:54 AM, Paolo Bonzini wrote: > On 19/11/2014 13:07, Prof. Dr. Mich

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Eric Blake
On 11/19/2014 07:54 AM, Paolo Bonzini wrote: > On 19/11/2014 13:07, Prof. Dr. Michael Schefczyk wrote: >> Yes! My level of knowledge is that one uses the qcow2 format in order >> to be able to create live snapshots/backups. Otherwise one would tend >> to use the more efficient raw format. Is this n

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Paolo Bonzini
On 19/11/2014 13:07, Prof. Dr. Michael Schefczyk wrote: > Yes! My level of knowledge is that one uses the qcow2 format in order > to be able to create live snapshots/backups. Otherwise one would tend > to use the more efficient raw format. Is this not correct and did I > apply the backup mechanis

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Prof. Dr. Michael Schefczyk
Dear Paolo, Thank you very much. To execute the backup, I run a script. For the machine in question, it looks as follows: #!/bin/bash dt=`date +%y%m%d` qemu-img snapshot -c gatewayb72 /kvm02/gatewayb72.img qemu-img convert -f qcow2 -O qcow2 /kvm02/gatewayb72.img /backup/gatewayb72$dt.img qemu-

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Prof. Dr. Michael Schefczyk
Yes! My level of knowledge is that one uses the qcow2 format in order to be able to create live snapshots/backups. Otherwise one would tend to use the more efficient raw format. Is this not correct and did I apply the backup mechanism in the wrong way? -Ursprüngliche Nachricht- Von: Pa

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Max Reitz
On 19.11.2014 12:41, Paolo Bonzini wrote: On 19/11/2014 12:39, Prof. Dr. Michael Schefczyk wrote: Dear Paolo, thank you very much for your prompt reply. Hi, please keep the replies on the mailing list. I've added the qemu-devel mailing list, where more people should be able to see the messa

Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)

2014-11-19 Thread Paolo Bonzini
On 19/11/2014 12:48, Prof. Dr. Michael Schefczyk wrote: > > Thank you very much. To execute the backup, I run a script. For the machine > in question, it looks as follows: > > #!/bin/bash > dt=`date +%y%m%d` > qemu-img snapshot -c gatewayb72 /kvm02/gatewayb72.img > qemu-img convert -f qcow2 -