Section: Gluster Inc. (8)Updated: Gluster command line toolLocal indexUp
NAME
Gluster - Gluster command line tool.
SYNOPSIS
gluster
To enter gluster prompt
(or)
gluster[commands] [options]
Gluster is a command line tool for dynamic volume management for glusterfs.
DESCRIPTION
Gluster command line tool is used for dynamic volume management.
The tool must be executed on any of the export servers. The cli gives an easy way to perform cloud operations such as volume create, volume expand, volume shrink, volume migrate, volume rebalance without the necessity of scheduling downtimes.
COMMANDS
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Basic commands
volume info [all|<VOLNAME>]
list information of all volumes
create a new volume of specified type with mentioned bricks, with specified transport-type [default:tcp]
volume delete <VOLNAME>
delete volume specified by <VOLNAME>
volume start <VOLNAME>
start volume specified by <VOLNAME>
volume stop <VOLNAME> [force]
stop volume specified by <VOLNAME>
volume rename <VOLNAME> <NEW-VOLNAME>
rename volume <VOLNAME> to <NEW-VOLNAME>
volume add-brick <VOLNAME> <NEW-BRICK> ...
add brick to volume. if the volume is of the type replicate or stripe, then one need to provide bricks in multiple of replica count, or stripe count.<VOLNAME>
volume remove-brick <VOLNAME> <BRICK> ...
remove brick from volume. if the volume is of the type replicate or stripe, then one need to provide bricks in multiple of replica count, or stripe count. Note that with this option, your data in the bricks which are removed is not going to available. If you need to migrate data, then refer to 'replace-brick' option. <VOLNAME>