Centos5.9 Fuse Client fails to write file with 'dd'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vijay,

  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.
>
> -Vijay
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130830/8feb9a83/attachment.html>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux