Poster of Linux kernelThe best gift for a Linux geek
Gluster

Gluster

Section: Gluster Inc. (8) Updated: Gluster command line tool
Local index Up
 

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
 volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ...
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>
 volume rebalance <VOLNAME> start
start rebalance of volume <VOLNAME>
 volume rebalance <VOLNAME> stop
stop rebalance of volume <VOLNAME>
 volume rebalance <VOLNAME> status
rebalance status of volume <VOLNAME>
 volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status|commit
replace-brick operations
 volume set <VOLNAME> <OPTION> <VALUE> [<OPTION> <VALUE>] ...
set transport type for volume <VOLNAME>
 volume help
display help for the volume command
 volume log filename <VOLNAME> [BRICK] <PATH>
set the log file for corresponding volume/brick
 volume log locate <VOLNAME> [BRICK]
locate the log file for corresponding volume/brick
 volume log rotate <VOLNAME> [BRICK]
rotate the log file for corresponding volume/brick
 peer probe <HOSTNAME>
probe peer specified by <HOSTNAME>
 peer detach <HOSTNAME>
detach peer specified by <HOSTNAME>
 peer status
list status of peers
 peer help
Help command for peer
 help
display command options
 quit
quit

 

FILES

/etc/glusterd/*

 

SEE ALSO

fusermount(1), mount.glusterfs(8), glusterfs(8), glusterd(8)

 

COPYRIGHT

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
COMMANDS
Basic commands
FILES
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 08:00:51 GMT, June 15, 2011