[libvirt] libvirt external snapshot error

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Nov 24 07:17:26 UTC 2015


23 нояб. 2015 г. 15:13 пользователь "Vasiliy Tolstov" <v.tolstov at selfip.ru>
написал:
>
> 2015-11-23 15:10 GMT+03:00 Peter Krempa <pkrempa at redhat.com>:
> > 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 specified, and the snapshot XML requests an
> >    external snapshot with a destination of an existing file, then the
> >    destination must exist and be pre-created with correct format and
> >    metadata. The file is then reused; otherwise, a snapshot is refused
> >    to avoid losing contents of the existing files.
> >
>
>
> If file is not exists i get error:
> error: internal error: unable to execute QEMU command 'transaction':
> Could not open '/test.raw': Invalid argument
>

Any new suggestions?
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151124/7418f10e/attachment-0001.htm>


More information about the libvir-list mailing list