[Gluster-users] Any documents about /etc/glusterfs/glusterd.vol?

Atin Mukherjee amukherj at redhat.com
Fri Jan 20 07:14:57 UTC 2017

On Fri, Jan 20, 2017 at 12:25 PM, Masao Sakata <sakata at preferred.jp> wrote:

> Hello,
> I am trying to install GlusterFS and looking for which options can be
> configured then I reached the documentation below.
>   Managing GlussterFS Volumes
>   <http://gluster.readthedocs.io/en/latest/Administrator%
> 20Guide/Managing%20Volumes/>
> In addition to using "gluster volume set" command written in the document,
> I also find some descriptions refering to a configuration file
> "/etc/glusterfs/glusterd.vol" to add or edit some options when I searched
> in google or in this mailing list.  However there seems to no concrete
> explanation about this file in the above readthedocs site.
> I guess editing vol file is an old method to configure GlusterFS.  Is my
> understanding correct?  Otherwise would someone kindly tell me the location
> of the document which showing how to use the vol file?

glusterd.vol is a config file which glusterd uses during it's own
initialization. The parameters used in this file are somewhat global to
GlusterD's context and has nothing to do with any volume specific options.
For a particular volume tunable you are advised to use volume set interface
through CLI.

This is how the glusterd.vol file looks like


    option working-directory @GLUSTERD_WORKDIR@
/* defines where glusterd's data will be stored
    option transport-type
socket,rdma                                                            /*
transport type options
    option transport.socket.keepalive-time
    option transport.socket.keepalive-interval
    option transport.socket.read-fail-log
    option ping-timeout
/* ping-timeout set to 0 indicates there is no ping-timer logic
    option event-threads
/* single threaded e-poll
#   option transport.address-family
#   option base-port

> Any input would be greatly appreciated!
> Thanks,
> Masao
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users


~ Atin (atinm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170120/56ea27b7/attachment.html>

More information about the Gluster-users mailing list