Re: [Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-17 Thread Serge Hallyn
@Mario, the external snapshots have apparently been around a long time. The ability to create external snapshots from running vms is newer, but it appears to exist evn in qemu-kvm 1.0. So all versions in Debian and Ubuntu should support them. http://wiki.qemu.org/Features/Snapshots#Snapshot_com

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-16 Thread Mario
@serge, what version would I need to upgrade to be able to use the external snapshots? that sounds like it would solve my problems -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/10252

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-16 Thread Max Reitz
@Mario, in theory an image "that should be taking up 30 GB" with four snapshots should be taking up at most about 150 GB, of course. Now the question is what you mean by "should be taking up 30 GB" and by "is taking 600+ GB". For the latter, did you query the file length (ls -l) or the actual size

Re: [Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-15 Thread Serge Hallyn
For the record, the workaround is deleting old snapshots in shutdown mode as per comment #14. Upstream has moved toward external snapshots as the way forward, so while I don't argue that this is a bug, it seems unlikely to receive a fix from upstream. -- You received this bug notification becaus

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-15 Thread Mario
@michael, so you do that once, after some time the machine keeps growing, and growing and growing... and you have to redo that every so often... I have a machine that should be taking up 30 gb yet is taking 600+ GB with 4 snapshots... but yeah... I'll just plug in another 1tb hard drive so that i

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-15 Thread Serge Hallyn
Changing priority given workarounds. ** Changed in: qemu-kvm (Ubuntu) Importance: High => Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1025244 Title: qcow2 image increasi

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-14 Thread Michael Tokarev
Looking at what? At the lack of problems as comment #14 says? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1025244 Title: qcow2 image increasing disk size above the virtual limi

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2014-12-12 Thread Mario
Is anyone even looking at this? been years and the problem still persists! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1025244 Title: qcow2 image increasing disk size above the

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2013-01-11 Thread Andy Menzel
Thanks for your advices. I have no more problems with VM-size since deleting snapshot in shutdown-mode. I reduced the overlarge qcow2-images by converting in qcow2 again (that detects unused sectors and omits this). -- You received this bug notification because you are a member of Ubuntu Server T

Re: [Qemu-devel] [Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2013-01-02 Thread Eric Blake
On 01/02/2013 08:50 AM, Stefan Hajnoczi wrote: > On Tue, Dec 18, 2012 at 10:18:20AM -, Andy Menzel wrote: >> Any solution right now? I have a similar problem like Todor Andreev; >> Our daily backup of some virtual machines (qcow2) looks like that: >> >> 1. shutdown the VM >> 2. create a snapsho

Re: [Qemu-devel] [Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2013-01-02 Thread Stefan Hajnoczi
On Tue, Dec 18, 2012 at 10:18:20AM -, Andy Menzel wrote: > Any solution right now? I have a similar problem like Todor Andreev; > Our daily backup of some virtual machines (qcow2) looks like that: > > 1. shutdown the VM > 2. create a snapshot via: "qemu-img snapshot -c nameofsnapshot..." > 3.

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2012-12-19 Thread Serge Hallyn
I don't know of any qcow2-based workaround. Is anyone actively working on fixing the qcow2 code? In particular, the fact that after removing snapshots, un-used blocks are not reclaimed and disk size is never reduced? One possible workaround (the one I would use) would be to use lvm-based snapsho

[Bug 1025244] Re: qcow2 image increasing disk size above the virtual limit

2012-12-18 Thread Andy Menzel
Any solution right now? I have a similar problem like Todor Andreev; Our daily backup of some virtual machines (qcow2) looks like that: 1. shutdown the VM 2. create a snapshot via: "qemu-img snapshot -c nameofsnapshot..." 3. boot the VM 4. backup the snapshot to another virtual disk via: "qemu-img