From 3e9777a35b481a2c9218c286ced045579b64a731 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Tue, 25 Sep 2012 20:31:12 +0530 Subject: doc: Update man page for 'gluster' command. Change-Id: Idb749a4bdde0a07e6919e8007302070fcd6cc67a BUG: 825906 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/3977 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- doc/Makefile.am | 5 ++-- doc/gluster.8 | 93 ++++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 69 insertions(+), 29 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index aee7b0b61..6d220dd83 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,7 +4,8 @@ EXTRA_DIST = glusterfs.vol.sample glusterfsd.vol.sample glusterfs.8 mount.gluste voldir = $(sysconfdir)/glusterfs vol_DATA = glusterd.vol -# TODO: update man pages and uncomment this section -#man8_MANS = glusterfs.8 mount.glusterfs.8 gluster.8 glusterd.8 glusterfsd.8 +man8_MANS = gluster.8 +# TODO: update the following man pages and readd them +# glusterfs.8 mount.glusterfs.8 gluster.8 glusterd.8 glusterfsd.8 CLEANFILES = diff --git a/doc/gluster.8 b/doc/gluster.8 index 87c812081..1b61fb2c4 100644 --- a/doc/gluster.8 +++ b/doc/gluster.8 @@ -36,13 +36,16 @@ To specify a command directly: 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. .SH COMMANDS -.SS "Volume Commands" +.SS "Basic Volume Commands" .PP .TP \fB\ volume info [all|] \fR Display information about all volumes, or the specified volume. .TP +\fB\ volume list \fR +List the available volumes. +.TP \fB\ volume create [stripe ] [replica ] [transport ] ... \fR Create a new volume of the specified type using the specified bricks and transport type (the default transport type is tcp). To create a volume with both transports (tcp and rdma), give 'transport tcp,rdma' as an option. @@ -56,46 +59,82 @@ Start the specified volume. \fB\ volume stop [force] \fR Stop the specified volume. .TP -\fB\ volume rename \fR -Rename the specified volume. -.TP \fB\ volume set