Bug 764474 (GLUSTER-2742) - cli help for volume create is not upto date
Summary: cli help for volume create is not upto date
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2742
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 08:55 UTC by Amar Tumballi
Modified: 2013-12-19 00:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: DP
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2011-04-13 08:55:47 UTC
we added feature to create the volume with both transport types with option 'transport tcp,rdma' keyword while creating.

The help message should tell about new option.


root@supernova:~# gluster volume create help
Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ...

root@supernova:~# gluster volume create test-vol transport tcp,rdma supernova:/tmp/export/s1
Creation of volume test-vol has been successful. Please start the volume to access data.


root@supernova:~# gluster volume info test-vol
Volume Name: test-vol
Type: Distribute
Status: Created
Number of Bricks: 1
Transport-type: tcp,rdma
Bricks:
Brick1: supernova:/tmp/export/s1

Comment 1 Anand Avati 2011-04-21 11:38:40 UTC
PATCH: http://patches.gluster.com/patch/6890 in master (gluster volume create: fix help message with transport option 'tcp, rdma')

Comment 2 Raghavendra Bhat 2011-06-01 07:40:16 UTC
It is fixed now. Checked with glusterfs-3.2.1qa2.


gluster volume create transport k
wrong brick type: k, use <HOSTNAME>:<export-dir-abs-path>
Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ...


Note You need to log in before you can comment on or make changes to this bug.