<div dir="ltr">Vijay,<div><br></div><div>  Thank you very much! It worked! </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 12:27 PM, Vijay Bellur <span dir="ltr">&lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/30/2013 10:10 PM, The Figuras wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, Fellow Gluster Users<br>
<br>
  I am testing writing file with &#39;dd&#39; from FUSE client on Centos6 and<br>
Centos5. Command syntax is i have used is:<br>
<br>
/bin/dd if=/dev/zero of=/data/gluster/file bs=20M count=1 oflag=direct<br>
    When I run it on Centos6 Client, I am receiving results as expected:<br>
<br>
  1+0 records in<br>
  1+0 records out<br>
  20971520 bytes (21 MB) copied, 0.125189 s, 168 MB/s<br>
<br>
   However, when I run the same command on CentOS5.9 I cant create a file.<br>
<br>
/bin/dd: opening `/data/gluster/file&#39;: Invalid argument<br>
</blockquote>
<br></div>
FUSE kernel module in CentOS 5 does lack support for O_DIRECT. By dropping the oflag=direct argument with CentOS 5, the write should go through.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Vijay<br>
<br>
<br>
</font></span></blockquote></div><br></div>