>>We need to use qemu "snapshot-drive" if the VM is running?

For qcow2 file yes.

found some reference here:

https://www.suse.com/documentation/sles11/book_kvm/data/cha_qemu_guest_inst_qemu-img.html
"
WARNING: Do not create or delete virtual machine snapshots with the qemu-img 
snapshot command while the virtual machine is running.
 Otherwise, you can damage the disk image with the state of the virtual machine 
saved.
"-
---- Mail original -----
De: "dietmar" <diet...@proxmox.com>
À: "aderumier" <aderum...@odiso.com>
Cc: "pve-devel" <pve-devel@pve.proxmox.com>
Envoyé: Jeudi 30 Avril 2015 13:11:35
Objet: Re: [pve-devel] [PATCH] remove running from Storage and check it in 
QemuServer

> > So, with this code, we always call qemu-img snasphot for qcow2, which is 
> > wrong 
> > if the vm is running. 
> > (for rbd,zfs,.. no problem). 
> > 
> > I think that's why we passed the running flag to pve-storage. 
> 
> Ah, yes - the logic is wrong, but fixable. 

Or is it the other way around? We need to use qemu "snapshot-drive" if the VM 
is 
running? 
confused :-/ 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to