<p dir="ltr">O_DIRECT support in fuse has been for quite some time now, surely well before 3.4</p>
<br><div class="gmail_quote">On Fri, Feb 13, 2015, 02:37 Pedro Serotto &lt;<a href="mailto:pedro.serotto@yahoo.es">pedro.serotto@yahoo.es</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><font color="#222222" face="arial, sans-serif">Dear All,</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">I am actually using the following software stack:</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">debian wheezy with kernel 3.2.0-4-amd64, glusterfs 3.6.2, openstack Juno, libvirt 1.2.9.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">If I try to attach a block storage to a running vm, Openstack shows the following error:   </font></div><div><font color="#222222" face="arial, sans-serif">&quot;DeviceIsBusy: The supplied device (vdc) is busy&quot;.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">If I try to attach a block storage to a running vm, Libvirt shows the following error: </font></div><div><font color="#222222" face="arial, sans-serif"> &quot;qemuMonitorTextAddDrive:2621 : operation failed: open disk image file failed&quot;</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Looking up for this issue on the web, I found out that Libvirt tries to open the block device by using  O_DIRECT flag on; This last one is supported only by fuse for kernel &gt;3.4.</font></div><div><font color="#222222" face="arial, sans-serif">Therefore, I tried to apply some options (<a href="http://www.gluster.org/documentation/use_cases/Virt-store-usecase/" target="_blank">http://www.gluster.org/documentation/use_cases/Virt-store-usecase/</a>) to Gluster, but the problem has not been solved.</font></div><div><font color="#222222" face="arial, sans-serif">I also found  <a href="https://github.com/avati/liboindirect" target="_blank">https://github.com/avati/liboindirect</a> but it is old and not mantained.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Does somebody found himself in the same situation? If yes, could you please show me how to solve it by mainteining the same version of my software stack.</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Thanks&amp;Regards</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Pedro</font></div><div><br></div><div><br></div></div></div>______________________________<u></u>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/<u></u>mailman/listinfo/gluster-users</a></blockquote></div>