[libvirt] libvirt external snapshot error

Peter Krempa pkrempa at redhat.com
Mon Nov 30 08:44:25 UTC 2015


On Mon, Nov 30, 2015 at 11:22:29 +0300, Vasiliy Tolstov wrote:
> 2015-11-24 10:17 GMT+03:00 Vasiliy Tolstov <v.tolstov at selfip.ru>:
> >> 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
> file with O_DIRECT, that does not supported by overlayfs.

I saw the same message in the same context, but I thought that
/ would be a normal FS in this case. At any rate, either choose a
different location, or you can enable caching for the disk if you don't
need to do migrations. (cache='none' for the disk makes qemu use
O_DIRECT).

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151130/0e167889/attachment-0001.sig>


More information about the libvir-list mailing list