Re: qemu-img snapshot on running virtual machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 14, 2018 at 09:36:52AM +0100, Gionatan Danti wrote:
Hi all,
I have a question about internal qcow2 snapshots of a live/running
virtual machine taken via "qemu-img snapshot command".

My question is: is it safe to execute the command above against a
running machine? Or it will cause corruption? Naively I think it should
*not* be safe, however, I would like a direct confirmation.


It is not safe.

For a running domain, you need to go through libvirt and also save the
memory of the VM - doing just the disk snapshot for a running machine
would be an equivalent of copying a physical hard drive after pulling
out the power cord.

Jan

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux