From 92e982b9d2f37ae88b22406be9ee88bf14b57197 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 15 Apr 2011 01:10:48 +0000 Subject: gluster volume create: fix help message with transport option 'tcp, rdma' used to create a volume which listens on both sockets and ibverbs Signed-off-by: Amar Tumballi Signed-off-by: Anand Avati BUG: 2742 (cli help for volume create is not upto date) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2742 --- cli/src/cli-cmd-volume.c | 2 +- doc/gluster.8 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 3d4a26544..55044b33a 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1096,7 +1096,7 @@ struct cli_cmd volume_cmds[] = { cli_cmd_volume_info_cbk, "list information of all volumes"}, - { "volume create [stripe ] [replica ] [transport ] ...", + { "volume create [stripe ] [replica ] [transport ] ...", cli_cmd_volume_create_cbk, "create a new volume of specified type with mentioned bricks"}, diff --git a/doc/gluster.8 b/doc/gluster.8 index 3886d29a0..e99e98e99 100644 --- a/doc/gluster.8 +++ b/doc/gluster.8 @@ -43,8 +43,9 @@ The Gluster Console Manager is a command line utility for elastic volume managem \fB\ volume info [all|] \fR Display information about all volumes, or the specified volume. .TP -\fB\ volume create [stripe ] [replica ] [transport ] ... \fR +\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. .TP \fB\ volume delete \fR Delete the specified volume. -- cgit