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?

Tags: KVM CentOS QEMU-KVM Snapshot
user image Author :   issacjoseph
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
user image
parthiban April 16, 2018
Add comment