glusterfs-volgen(8) - Linux man page

Name

glusterfs-volgen - Tool to generate GlusterFS volume files

Synopsis

glusterfs-volgen --name <volumename> [options] <server1:/export/directory> <server1:/export/directory> ...

Description

glusterfs-volgen tool is used to generate glusterfs volume files as per the options given.

GlusterFS volume files are very important component of gluster filesystem, using which glusterfs(8) will behave as a client component or a server component. Each glusterfs modules (in technical terms, a translator) is defined in this volume files in certain order to achieve the required behavior from filesystem.

glusterfs-volgen tool abstracts the complexities of volumefile logic into a simple command line tool, which based on user's requirement (by options provided) generates the corresponding error-free volume file.

Options

-n --name=VOLUME-NAME This is a mandatory argument required for glusterfs-volgen.

-r --raid=[0|1]
Supported options are 0 (stripe), 1 (mirror). If this option is not used, distribute is used without replicate or stripe.
-t --transport=[tcp|ib-verbs|tcp,ib-verbs]
Supported types are 'tcp' and 'ib-verbs'. This option can take both types together like 'tcp,ib-verbs'. [default is 'tcp']
-p --port=PORT
The port number to use in volume files. [default is 24007 for tcp, (24007 + 1) for ib-verbs]
-a --auth=AUTH_PARAMS
Authentication parameters (comma seperated) to use in server volume. [default is '*', ie allow everyone]
-c --conf-dir=CONF_DIR
Directory where the output volume files are generated. [default is ${prefix}/etc/glusterfs]

Files

${CONF_DIR}/*.vol

See Also

mount.glusterfs(8)

Copyright

Copyright(c) 2009-2010  Gluster, Inc.  <http://www.gluster.com>