[libvirt] libvirt external snapshot error

Vasiliy Tolstov v.tolstov at selfip.ru
Fri Nov 27 09:55:13 UTC 2015


24 нояб. 2015 г. 10:17 пользователь "Vasiliy Tolstov" <v.tolstov at selfip.ru>
написал:
>
>
> 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?
>

Does this is bug and it needs to be fixed or this expected? Can somebody
helps me to fix this?
I'm found piece of code but don't understand some things.

> >
> > --
> > 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/20151127/24aa352e/attachment-0001.htm>


More information about the libvir-list mailing list