diff options
authorAmar Tumballi <>2011-04-15 01:10:48 +0000
committerAnand Avati <>2011-04-21 07:38:38 -0700
commit92e982b9d2f37ae88b22406be9ee88bf14b57197 (patch)
parent81c04158559f9f61ff0581544541cc18778cb1de (diff)
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:
2 files changed, 3 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index 3d4a265..55044b3 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -1096,7 +1096,7 @@ struct cli_cmd volume_cmds[] = {
"list information of all volumes"},
- { "volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ...",
+ { "volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ...",
"create a new volume of specified type with mentioned bricks"},
diff --git a/doc/gluster.8 b/doc/gluster.8
index 3886d29..e99e98e 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|<VOLNAME>] \fR
Display information about all volumes, or the specified volume.
-\fB\ volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ... \fR
+\fB\ volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... \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.
\fB\ volume delete <VOLNAME> \fR
Delete the specified volume.