Re: libvirt external snapshot error

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

 



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


-- 
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]