error: Requested operation is not valid: Disk does not support snapshot
This error arises when you try to take a snapshot of a VM hard disk with virsh command
as shown below
virsh snapshot-create Clusterbase
error: Requested operation is not valid: Disk '/path/to/kvm/clusterbase.img' does not support snapshot.
If you see image of this VM is .img format, by default Virsh snapshot will work only for qcow2 format as of time of this post writing. So first convert that image to qcow2 format and then try to do a snapshot t with same command.
Convert img file to qcow2 format
qemu-img convert -f raw -O qcow2 /path/to/kvm/clusterbase.img /path/to/kvm/clusterbase.qcow2
Hope this helps to resolve this error.
This error arises when you try to take a snapshot of a VM hard disk with virsh command
as shown below
virsh snapshot-create Clusterbase
error: Requested operation is not valid: Disk '/path/to/kvm/clusterbase.img' does not support snapshot.
If you see image of this VM is .img format, by default Virsh snapshot will work only for qcow2 format as of time of this post writing. So first convert that image to qcow2 format and then try to do a snapshot t with same command.
Convert img file to qcow2 format
qemu-img convert -f raw -O qcow2 /path/to/kvm/clusterbase.img /path/to/kvm/clusterbase.qcow2
Hope this helps to resolve this error.