diff options
author | Amar Tumballi <amar@gluster.com> | 2011-04-15 01:10:48 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-21 07:38:38 -0700 |
commit | 92e982b9d2f37ae88b22406be9ee88bf14b57197 (patch) | |
tree | 0457fe464290f7d8129307e360e124db48e0bdc3 | |
parent | 81c04158559f9f61ff0581544541cc18778cb1de (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 <amar@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2742 (cli help for volume create is not upto date)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2742
-rw-r--r-- | cli/src/cli-cmd-volume.c | 2 | ||||
-rw-r--r-- | 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 3d4a26544b6..55044b33aa5 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 <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> ...", 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 3886d29a090..e99e98e997a 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. .TP -\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. .TP \fB\ volume delete <VOLNAME> \fR Delete the specified volume. |