Bug 763923 (GLUSTER-2191) - mount.glusterfs does not support direct-io-mode option
Summary: mount.glusterfs does not support direct-io-mode option
Keywords:
Status: CLOSED DUPLICATE of bug 763905
Alias: GLUSTER-2191
Product: GlusterFS
Classification: Community
Component: scripts
Version: 3.1.1
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-03 21:38 UTC by Vikas Gorur
Modified: 2013-12-19 00:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.