Bug 764474 (GLUSTER-2742)

Summary: cli help for volume create is not upto date
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: cliAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, rabhat, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: DP CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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> ...