2012-09-11 16:34:54 +05:30
. \" Copyright (c) 2006-2012 Red Hat, Inc. <http://www.redhat.com>
2010-09-06 01:58:48 +00:00
. \" This file is part of GlusterFS.
. \"
2012-08-27 16:48:55 +05:30
. \" This file is licensed to you under your choice of the GNU Lesser
. \" General Public License, version 3 or any later version (LGPLv3 or
. \" later), or the GNU General Public License, version 2 (GPLv2), in all
. \" cases as published by the Free Software Foundation.
2010-09-06 01:58:48 +00:00
. \"
. \"
2013-11-13 22:44:42 +05:30
.TH Gluster 8 "Gluster command line utility" "07 March 2011" "Gluster Inc."
2010-09-06 01:58:48 +00:00
.SH NAME
2011-03-17 08:00:49 +00:00
gluster - Gluster Console Manager (command line utility)
2010-09-07 04:29:34 +00:00
.SH SYNOPSIS
2010-09-06 01:58:48 +00:00
.B gluster
.PP
2011-03-17 08:00:49 +00:00
To run the program and display gluster prompt:
.PP
.B gluster
2010-09-06 01:58:48 +00:00
.PP
(or)
2011-02-18 03:10:29 +00:00
.PP
2011-03-17 08:00:49 +00:00
To specify a command directly:
.PP
2010-09-06 01:58:48 +00:00
.B gluster
.I [commands] [options]
2011-03-17 08:00:49 +00:00
2010-09-06 01:58:48 +00:00
.SH DESCRIPTION
2011-03-17 08:00:49 +00:00
The Gluster Console Manager is a command line utility for elastic volume management. You can run the gluster command on any export server. The command enables administrators to perform cloud operations, such as creating, expanding, shrinking, rebalancing, and migrating volumes without needing to schedule server downtime.
2010-09-06 01:58:48 +00:00
.SH COMMANDS
2011-03-17 08:00:49 +00:00
.SS "Volume Commands"
2010-09-06 01:58:48 +00:00
.PP
.TP
2010-09-07 04:29:34 +00:00
\fB \ volume info [all|<VOLNAME>] \fR
2011-03-17 08:00:49 +00:00
Display information about all volumes, or the specified volume.
2010-09-07 04:29:34 +00:00
.TP
2013-11-13 22:44:42 +05:30
\fB \ volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... \fR
2011-03-17 08:00:49 +00:00
Create a new volume of the specified type using the specified bricks and transport type (the default transport type is tcp).
2011-04-15 01:10:48 +00:00
To create a volume with both transports (tcp and rdma), give 'transport tcp,rdma' as an option.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume delete <VOLNAME> \fR
2011-03-17 08:00:49 +00:00
Delete the specified volume.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume start <VOLNAME> \fR
2011-03-17 08:00:49 +00:00
Start the specified volume.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume stop <VOLNAME> [force] \fR
2011-03-17 08:00:49 +00:00
Stop the specified volume.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume rename <VOLNAME> <NEW-VOLNAME> \fR
2011-03-17 08:00:49 +00:00
Rename the specified volume.
.TP
\fB \ volume set <VOLNAME> <OPTION> <PARAMETER> [<OPTION> <PARAMETER>] ... \fR
Set the volume options.
.TP
\fB \ volume help \fR
Display help for the volume command.
.SS "Brick Commands"
.PP
2010-09-07 04:29:34 +00:00
.TP
2011-02-18 03:10:29 +00:00
\fB \ volume add-brick <VOLNAME> <NEW-BRICK> ... \fR
2011-03-17 08:00:49 +00:00
Add the specified brick to the specified volume.
2010-09-07 04:29:34 +00:00
.TP
2011-02-18 03:10:29 +00:00
\fB \ volume remove-brick <VOLNAME> <BRICK> ... \fR
2011-03-17 08:00:49 +00:00
Remove the specified brick from the specified volume.
.IP
.B Note:
If you remove the brick, the data stored in that brick will not be available. You can migrate data from one brick to another using
.B replace-brick
option.
2010-09-07 04:29:34 +00:00
.TP
2014-03-25 10:13:35 -07:00
\fB \ volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status|commit \fR
Replace the specified brick.
.TP
\fB \ volume rebalance <VOLNAME> start \fR
2011-03-17 08:00:49 +00:00
Start rebalancing the specified volume.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume rebalance <VOLNAME> stop \fR
2011-03-17 08:00:49 +00:00
Stop rebalancing the specified volume.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume rebalance <VOLNAME> status \fR
2011-03-17 08:00:49 +00:00
Display the rebalance status of the specified volume.
2010-09-06 01:58:48 +00:00
.TP
2011-03-17 08:00:49 +00:00
.SS "Log Commands"
2010-09-07 04:29:34 +00:00
.TP
2011-03-17 08:00:49 +00:00
\fB \ volume log filename <VOLNAME> [BRICK] <DIRECTORY> \fB
Set the log directory for the corresponding volume/brick.
2010-09-07 04:29:34 +00:00
.TP
2011-06-22 05:57:06 +00:00
\fB \ volume log locate <VOLNAME> [BRICK] \fB
2011-03-17 08:00:49 +00:00
Locate the log file for corresponding volume/brick.
2010-09-07 04:29:34 +00:00
.TP
\fB \ volume log rotate <VOLNAME> [BRICK] \fB
2011-03-17 08:00:49 +00:00
Rotate the log file for corresponding volume/brick.
.SS "Peer Commands"
2010-09-07 04:29:34 +00:00
.TP
\fB \ peer probe <HOSTNAME> \fR
2011-03-17 08:00:49 +00:00
Probe the specified peer.
2010-09-07 04:29:34 +00:00
.TP
\fB \ peer detach <HOSTNAME> \fR
2011-03-17 08:00:49 +00:00
Detach the specified peer.
2010-09-07 04:29:34 +00:00
.TP
\fB \ peer status \fR
2011-03-17 08:00:49 +00:00
Display the status of peers.
2010-09-07 04:29:34 +00:00
.TP
\fB \ peer help \fR
2011-03-17 08:00:49 +00:00
Display help for the peer command.
.SS "Other Commands"
2010-09-07 04:29:34 +00:00
.TP
\fB \ help \fR
2011-03-17 08:00:49 +00:00
Display the command options.
2010-09-06 01:58:48 +00:00
.TP
\fB \ quit \fR
2011-03-17 08:00:49 +00:00
Exit the gluster command line interface.
2010-09-07 04:29:34 +00:00
.SH FILES
2012-09-24 10:10:29 +02:00
/var/lib/glusterd/*
2010-09-07 04:29:34 +00:00
.SH SEE ALSO
.nf
2011-02-18 03:10:29 +00:00
\fB fusermount\fR (1), \fB mount.glusterfs\fR (8), \fB glusterfs\fR (8), \fB glusterd\fR (8)
2010-09-07 04:29:34 +00:00
\fR
.fi
.SH COPYRIGHT
.nf
2011-02-18 03:10:29 +00:00
Copyright(c) 2006-2011 Gluster, Inc. <http://www.gluster.com>