Re: [libvirt] libvirt external snapshot error

2015-11-30 Thread Peter Krempa
On Mon, Nov 30, 2015 at 11:22:29 +0300, Vasiliy Tolstov wrote: > 2015-11-24 10:17 GMT+03:00 Vasiliy Tolstov : > >> If file is not exists i get error: > >> error: internal error: unable to execute QEMU command 'transaction': > >> Could not open '/test.raw': Invalid argument >

Re: [libvirt] libvirt external snapshot error

2015-11-30 Thread Vasiliy Tolstov
2015-11-24 10:17 GMT+03:00 Vasiliy Tolstov : >> If file is not exists i get error: >> error: internal error: unable to execute QEMU command 'transaction': >> Could not open '/test.raw': Invalid argument >> I'm debug this issue, this error from qemu-img, that tries to open

Re: [libvirt] libvirt external snapshot error

2015-11-27 Thread Vasiliy Tolstov
24 нояб. 2015 г. 10:17 пользователь "Vasiliy Tolstov" написал: > > > 23 нояб. 2015 г. 15:13 пользователь "Vasiliy Tolstov" написал: > > > > > 2015-11-23 15:10 GMT+03:00 Peter Krempa : > > > The file should not exist prior to the

[libvirt] libvirt external snapshot error

2015-11-23 Thread Vasiliy Tolstov
Hi, i'm using virsh -c qemu+ssh://test.node/system snapshot-create-as 40083 --no-metadata --disk-only --live –atomic --diskspec sda,file=/test outputs: error: Operation not supported: live snapshot creation is supported only with external checkpoints info: Compiled against library: libvirt

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Vasiliy Tolstov
2015-11-23 14:43 GMT+03:00 Peter Krempa : > 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

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Vasiliy Tolstov
2015-11-23 15:10 GMT+03:00 Peter Krempa : > The file should not exist prior to the snapshot. If you want to > pre-create it (with correct size and format), you need to specify > --reuse-external in that case. Virsh manual already documents that: > >If --reuse-external is

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Peter Krempa
On Mon, Nov 23, 2015 at 15:04:55 +0300, Vasiliy Tolstov wrote: > 2015-11-23 14:43 GMT+03:00 Peter Krempa : > > 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

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Vasiliy Tolstov
2015-11-23 15:13 GMT+03:00 Vasiliy Tolstov : > If file is not exists i get error: > error: internal error: unable to execute QEMU command 'transaction': > Could not open '/test.raw': Invalid argument Does libvirt/qemu supports external snapshots from raw source format? for

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Peter Krempa
On Mon, Nov 23, 2015 at 13:13:09 +0300, Vasiliy Tolstov wrote: > Hi, i'm using > virsh -c qemu+ssh://test.node/system snapshot-create-as 40083 > --no-metadata --disk-only --live –atomic --diskspec sda,file=/test > > outputs: > error: Operation not supported: live snapshot creation is supported

Re: [libvirt] libvirt external snapshot error

2015-11-23 Thread Vasiliy Tolstov
23 нояб. 2015 г. 15:13 пользователь "Vasiliy Tolstov" написал: > > 2015-11-23 15:10 GMT+03:00 Peter Krempa : > > The file should not exist prior to the snapshot. If you want to > > pre-create it (with correct size and format), you need to specify > >