Re: libvirt external snapshot error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2015-11-23 14:43 GMT+03:00 Peter Krempa <pkrempa@xxxxxxxxxx>:
> 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@xxxxxxxxx

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]