[libvirt] libvirt external snapshot error

Vasiliy Tolstov v.tolstov at selfip.ru
Mon Nov 23 12:04:55 UTC 2015


2015-11-23 14:43 GMT+03:00 Peter Krempa <pkrempa at redhat.com>:
> If you insist on using --live you also have to specify --memspec to
> point to a location where the memory snapshot is saved. Btw, --live and
> --disk-only are basically mutually exclusive since --disk-only implies
> that the memory state should not be saved, whereas --live is used when
> the memory state is saved.
>
> Additionally a disk-only snapshot is always considered "live" since it
> usually doesn't require pausing of the VM.


So, i'm try to modify command to virsh snapshot-create-as 40219
--no-metadata --disk-only     --diskspec sda,file=/test.raw
but also have error:
error: unsupported configuration: external snapshot file for disk sda
already exists and is not a block device: /test.raw

libvirt xml :
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native' discard='unmap'/>
      <source dev='/dev/vg1/40219'/>
      <backingStore/>
      <target dev='sda' bus='scsi'/>
      <iotune>
        <total_iops_sec>5000</total_iops_sec>
      </iotune>
      <alias name='scsi0-0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru




More information about the libvir-list mailing list