Bug 763923 (GLUSTER-2191)

Summary: mount.glusterfs does not support direct-io-mode option
Product: [Community] GlusterFS Reporter: Vikas Gorur <vikas>
Component: scriptsAssignee: Amar Tumballi <amarts>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1.1CC: aavati, gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vikas Gorur 2010-12-03 21:38:15 UTC
mount -t glusterfs -o direct-io-mode=off vikas-test01:/qa /mnt/fuse/
/usr/sbin/glusterfs: unrecognized option `--disable-direct-io-mode'
Try `glusterfs --help' or `glusterfs --usage' for more information.
Mount failed. Please check the log file for more details.

This is because in mount.glusterfs there is:

if [ -n "$direct_io_mode" ]; then
        cmd_line=$(echo "$cmd_line --disable-direct-io-mode");

Current command-line option for glusterfs is however:

--direct-io-mode[=BOOL]   Use direct I/O mode in fuse kernel module
                                             [default: "off" if big writes are supported, else
                                             "on" for fds not opened with O_RDONLY]

Comment 1 Anand Avati 2010-12-03 23:40:34 UTC

*** This bug has been marked as a duplicate of bug 2173 ***