[Gluster-users] Centos5.9 Fuse Client fails to write file with 'dd'
thefiguras at gmail.com
Fri Aug 30 17:29:10 UTC 2013
Thank you very much! It worked!
On Fri, Aug 30, 2013 at 12:27 PM, Vijay Bellur <vbellur at redhat.com> wrote:
> On 08/30/2013 10:10 PM, The Figuras wrote:
>> Hello, Fellow Gluster Users
>> I am testing writing file with 'dd' from FUSE client on Centos6 and
>> Centos5. Command syntax is i have used is:
>> /bin/dd if=/dev/zero of=/data/gluster/file bs=20M count=1 oflag=direct
>> When I run it on Centos6 Client, I am receiving results as expected:
>> 1+0 records in
>> 1+0 records out
>> 20971520 bytes (21 MB) copied, 0.125189 s, 168 MB/s
>> However, when I run the same command on CentOS5.9 I cant create a file.
>> /bin/dd: opening `/data/gluster/file': Invalid argument
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users