[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-28 Thread Lenny Helpline
> Looking at the file size isn't helpful. The 23 GB > are the space that is actually used. You can use 'du -h' > to confirm this, but I think it gets the number in the exact same way as > qemu-img. Are you sure about that? My OS complains that the disk is full. I can't even start any VM anymore.

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-18 Thread Kevin Wolf
Looking at the file size isn't helpful. The 23 GB are the space that is actually used. You can use 'du -h' to confirm this, but I think it gets the number in the exact same way as qemu-img. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QE

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-18 Thread Lenny Helpline
We have played a bit around with external snapshots (as suggested by Eric Blake in post #3), however, it appears that external snapshots are not fully supported yet. While I can create external snapshots, I'm unable to revert to them using virt-manager (which we use for managing our VM farm): Erro

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-11 Thread Kevin Wolf
Regarding snapshot deletion, QEMU does punch holes into the image file when deleting snapshots, so the space should effectively be freed, even if this isn't visible in the file size. To get actually meaningful numbers, you'd have to look at the allocated blocks rather than the file size (e.g. by us

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-08 Thread Eric Blake
On 1/8/19 2:30 AM, Lenny Helpline wrote: > I don't have many commands handy, as we manage almost everything through > libvirt manager. > > 3) create a snapshot of the lined clone: > > virsh snapshot-create-as --domain --name "test" --halt > > 4) revert the snapshot every X minutes / hours: > >

Re: [Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-08 Thread Eric Blake
On 1/8/19 2:30 AM, Lenny Helpline wrote: > I don't have many commands handy, as we manage almost everything through > libvirt manager. > > 3) create a snapshot of the lined clone: > > virsh snapshot-create-as --domain --name "test" --halt > > 4) revert the snapshot every X minutes / hours: > >

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-08 Thread Lenny Helpline
I don't have many commands handy, as we manage almost everything through libvirt manager. 3) create a snapshot of the lined clone: virsh snapshot-create-as --domain --name "test" --halt 4) revert the snapshot every X minutes / hours: virsh destroy virsh snapshot-revert --snapshotname test --r

[Qemu-devel] [Bug 1810603] Re: QEMU QCow Images grow dramatically

2019-01-07 Thread Peter Maydell
** Summary changed: - QEMU QCow Images crow dramatically + QEMU QCow Images grow dramatically -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1810603 Title: QEMU QCow Images grow dramatically Statu