[Gluster-users] GlusterFS: problem with direct-io-mode
a.ionescu at student.vu.nl
Fri Feb 10 13:11:42 UTC 2012
Dear GlusterFS users,
We are trying to use some C programs that rely on direct I/O operations on files residing on a GlusterFS volume composed of ext4 bricks.
It is our understanding that this should be possible if we specify the direct-io-mode=enable option when mounting the volume, but for some reason we get the following error message when calling the open() system call with the O_DIRECT flag: "Invalid arguments".
The same system call succeeds on the local file system.
gluster volume info:
Volume Name: rdmaVol
Number of Bricks: 2
$ mount -t glusterfs -o direct-io-mode=enable node01:/rdmaVol /mnt/gfs
We would really appreciate your help and suggestions! Please let us know if you need any additional information.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users