[libvirt-users] Creating a snapshot from a KVM VM fails

Peter Krempa pkrempa at redhat.com
Tue Aug 20 14:20:28 UTC 2013


On 08/20/13 16:00, Tobias Brunner wrote:
> Hi,
> 
> I'm trying to create a snapshot from a KVM VM:
> 
> # virsh snapshot-create one-5
> error: unsupported configuration: internal checkpoints require at least
> one disk to be selected for snapshot
> 
> How can I debug this error message and what does it mean?

An internal snapshot of a VM requires that the VM has at least one disk
using a QCOW2 volume or similar. The memory state is saved in that
image. Your VM has only a RAW disk image and thus it can't be used for
internal snapshot.

You can either use an external snapshot (the memory image is stored
separately), but the support for external snapshots isn't finished yet
(they can't be reverted automatically).

The second option is to convert your VM to a qcow2 image file..

Peter

> 
> Some system information:
> * Ubuntu 13.04 64Bit
> * virsh --version: 1.0.2
> * The XML of the VM is below
> 
> Thanks for all help...
> 
> Cheers,
> Tobias
> 
> <domain type='kvm' id='4'>
>   <name>one-5</name>

...

>     <disk type='network' device='disk'>
>       <driver name='qemu' type='raw' cache='none'/>
>       <source protocol='rbd' name='one/one-5-5-0'/>
>       <target dev='hda' bus='ide'/>
>       <alias name='ide0-0-0'/>
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>     </disk>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130820/9fe6146c/attachment.sig>


More information about the libvirt-users mailing list