0

cannot create a snapshot on kvm

Hi there, why i can' t create a snapshot on my KVM through command line. I got the following error when i was try to create a snapshot on KVM

[root@localhost ~]# virsh snapshot-create-as centos snap1
error: unsupported configuration: internal snapshot for disk vda unsupported for storage type raw

How can i fix this issue?

KVM CentOS QEMU-KVM Snapshot Add a comment
issacjoseph
asked Apr 16 2018

Answer

0

For creating a snapshot using virsh command only supports the format qcow2, you cannot create a snapshot for the VM's that has qemu image format as raw. You need to create a qemu image format as qcow2 before the installation of VM by using below command

qemu-img create -f qcow2 /var/lib/libvirt/images/desktop.qcow2 20G
Add a comment
parthiban
asked Apr 15 2018
edited Oct 05 2018
Post your Answer