You can abort the commit with ‘virsh blockjob vm /mnt/… --abort’ and retry the commit again. In my experience the second time, the blockjob always completes successfully.

 

I’ve changed completely from using file images to logical volumes. I get the feeling, using external snapshots with file images isn’t really stable on the commit part. I never can reproduce a stuck commit, so I haven’t filed a bug rapport for this behavior…

 

 

 

Van: libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] Namens Ishmael Tsoaela
Verzonden: maandag 27 juni 2016 11:56
Aan: libvirt-users@redhat.com
Onderwerp: [libvirt-users] block commit failed at 100%

 

Hi All,

 

I am new to libvirt and would appreciated some assistance with libvirt backups.

 

I am backing up some VM and coming accross and issue where "Block commit" does not completely finish, causing libvirt to write to snapshot:

 

 

root@xxx:~# virsh blockjob vm /mnt/diskimage-backups/vm.snap-201606210230.qcow2  --info

Active Block Commit: [100 %]

 

The state does not change, is the anyway around this ?

 

libvirtd (libvirt) 1.3.4

QEMU emulator version 2.3.0