<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/17/2013 02:18 AM, Doug Goldstein
wrote:<br>
</div>
<blockquote
cite="mid:CAFWqQMRoHPe1jkeasX5Hj_Kbuf164FRsTehA6tC0=+975H6=8w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">On Fri, Aug 16, 2013 at 8:30 AM, Daniel
P. Berrange <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Aug 16, 2013 at 06:51:21PM +0530,
Deepak C Shetty wrote:<br>
> On 08/10/2013 06:20 PM, Deepak C Shetty wrote:<br>
> >2013-08-10 11:19:41.772+0000: 1091: debug :<br>
> >qemuMonitorIOProcess:345 :
QEMU_MONITOR_IO_PROCESS:<br>
> >mon=0x7f92f0007830 buf={"return": "could not
open disk image<br>
>
>/var/run/vdsm/3333017d-1278-4bfb-8129-62bded257399:
Invalid<br>
> >argument\r\n", "id": "libvirt-67"}^M<br>
><br>
> Any suggestions from anyone on why "Invalid
Argument" is being returned ?<br>
<br>
</div>
QEMU's error reporting for disk configs is known to be
worse than<br>
useless. You can't infer anything useful from "Invalid
Argument"<br>
I'm afraid.<br>
<div class="im HOEnZb"><br>
</div>
</blockquote>
<div><br>
</div>
<div style="">I'm going to go out on a limb here and say its
an O_DIRECT error. Reason I'm guessing this is that
O_DIRECT is not supported on tmpfs and when you attempt to
open() a file with O_DIRECT and its not supported you'll
get back -EINVAL from the kernel. Newer systems have /run
as tmpfs and /var/run symlinked to /run.</div>
</div>
</div>
</div>
</blockquote>
<br>
Bingo!!!<br>
Thanks Doug.. thats probably the right reason. Moving the file to a
diff dir thats not on tmpfs works!<br>
I was abt to start debugging from qemu perspective, but now i think
thats not needed.<br>
I wish i had thot abt this earlier... would have saved fews days for
me! <br>
<br>
thanx,<br>
deepak<br>
<br>
<br>
<blockquote
cite="mid:CAFWqQMRoHPe1jkeasX5Hj_Kbuf164FRsTehA6tC0=+975H6=8w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
</div>
<br>
-- <br>
Doug Goldstein
</div>
</div>
</blockquote>
<br>
</body>
</html>