.\" .\" Copyright (c) 2006-2011 Gluster, Inc. .\" This file is part of GlusterFS. .\" .\" GlusterFS is GF_FREE software; you can redistribute it and/or modify .\" it under the terms of the GNU Affero General Public License as published .\" by the Free Software Foundation; either version 3 of the License, .\" or (at your option) any later version. .\" .\" GlusterFS is distributed in the hope that it will be useful, but .\" WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Affero General Public License for more details. .\" .\" You should have received a copy of the GNU Affero General Public License .\" along with this program. If not, see .\" . .\" .\" .TH Gluster 8 "Gluster command line tool" "9 September 2010" "Gluster Inc." .SH NAME Gluster \- Gluster command line tool. .SH SYNOPSIS .B gluster .PP To enter gluster prompt .PP (or) .PP .B gluster .I [commands] [options] .PP Gluster is a command line tool for dynamic volume management for glusterfs. .SH 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. .SH COMMANDS .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SS "Basic commands" .PP .TP \fB\ volume info [all|] \fR list information of all volumes .TP \fB\ volume create [stripe ] [replica ] [transport ] ... \fR create a new volume of specified type with mentioned bricks, with specified transport-type [default:tcp] .TP \fB\ volume delete \fR delete volume specified by \fB\\fR .TP \fB\ volume start \fR start volume specified by \fB\\fR .TP \fB\ volume stop [force] \fR stop volume specified by \fB\\fR .TP \fB\ volume rename \fR rename volume \fB\\fR to \fB\\fR .TP \fB\ volume add-brick ... \fR 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.\fB\\fR .TP \fB\ volume remove-brick ... \fR 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. \fB\\fR .TP \fB\ volume rebalance start \fR start rebalance of volume \fB\\fR .TP \fB\ volume rebalance stop \fR stop rebalance of volume \fB\\fR .TP \fB\ volume rebalance status \fR rebalance status of volume \fB\fR .TP \fB\ volume replace-brick ( ) start|pause|abort|status|commit \fR replace-brick operations .TP \fB\ volume set