|
|
74096c |
From 728aab1c1cfcf352d4ca1fde0b80044dc24bd9fa Mon Sep 17 00:00:00 2001
|
|
|
74096c |
From: Rishubh Jain <risjain@redhat.com>
|
|
|
74096c |
Date: Sun, 18 Aug 2019 18:02:57 +0530
|
|
|
74096c |
Subject: [PATCH 396/449] Updating gluster manual.
|
|
|
74096c |
|
|
|
74096c |
Adding disperse-data to gluster manual under
|
|
|
74096c |
volume create command
|
|
|
74096c |
|
|
|
74096c |
> Upstream Patch Link: https://review.gluster.org/#/c/glusterfs/+/23258/
|
|
|
74096c |
> Change-Id: Ic9eb47c9e71a1d7a11af9394c615c8e90f8d1d69
|
|
|
74096c |
> Fixes: bz#1668239
|
|
|
74096c |
> Signed-off-by: Rishubh Jain <risjain@redhat.com>
|
|
|
74096c |
> Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
|
|
|
74096c |
|
|
|
74096c |
BUG: 1667954
|
|
|
74096c |
Change-Id: Ic9eb47c9e71a1d7a11af9394c615c8e90f8d1d69
|
|
|
74096c |
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
|
|
|
74096c |
Reviewed-on: https://code.engineering.redhat.com/gerrit/202342
|
|
|
74096c |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
74096c |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
74096c |
---
|
|
|
74096c |
doc/gluster.8 | 2 +-
|
|
|
74096c |
tests/basic/glusterd/disperse-create.t | 4 ++++
|
|
|
74096c |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
74096c |
|
|
|
74096c |
diff --git a/doc/gluster.8 b/doc/gluster.8
|
|
|
74096c |
index 88cbf44..66bdb48 100644
|
|
|
74096c |
--- a/doc/gluster.8
|
|
|
74096c |
+++ b/doc/gluster.8
|
|
|
74096c |
@@ -41,7 +41,7 @@ List all volumes in cluster
|
|
|
74096c |
\fB\ volume status [all | <VOLNAME> [nfs|shd|<BRICK>|quotad|tierd]] [detail|clients|mem|inode|fd|callpool|tasks|client-list] \fR
|
|
|
74096c |
Display status of all or specified volume(s)/brick
|
|
|
74096c |
.TP
|
|
|
74096c |
-\fB\ volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [disperse [<COUNT>]] [redundancy <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... \fR
|
|
|
74096c |
+\fB\ volume create <NEW-VOLNAME> [stripe <COUNT>] [[replica <COUNT> [arbiter <COUNT>]]|[replica 2 thin-arbiter 1]] [disperse [<COUNT>]] [disperse-data <COUNT>] [redundancy <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... <TA-BRICK> \fR
|
|
|
74096c |
Create a new volume of the specified type using the specified bricks and transport type (the default transport type is tcp).
|
|
|
74096c |
To create a volume with both transports (tcp and rdma), give 'transport tcp,rdma' as an option.
|
|
|
74096c |
.TP
|
|
|
74096c |
diff --git a/tests/basic/glusterd/disperse-create.t b/tests/basic/glusterd/disperse-create.t
|
|
|
74096c |
index 384c675..db8a621 100644
|
|
|
74096c |
--- a/tests/basic/glusterd/disperse-create.t
|
|
|
74096c |
+++ b/tests/basic/glusterd/disperse-create.t
|
|
|
74096c |
@@ -20,6 +20,10 @@ TEST $CLI volume create $V0 disperse 3 redundancy 1 $H0:$B0/b7 $H0:$B0/b8 $H0:$B
|
|
|
74096c |
EXPECT "1 x \(2 \+ 1\) = 3" volinfo_field $V0 "Number of Bricks"
|
|
|
74096c |
|
|
|
74096c |
TEST $CLI volume delete $V0
|
|
|
74096c |
+TEST $CLI volume create $V0 disperse-data 2 $H0:$B0/b10 $H0:$B0/b11 $H0:$B0/b12
|
|
|
74096c |
+EXPECT "1 x \(2 \+ 1\) = 3" volinfo_field $V0 "Number of Bricks"
|
|
|
74096c |
+
|
|
|
74096c |
+TEST $CLI volume delete $V0
|
|
|
74096c |
TEST $CLI volume create $V0 redundancy 1 $H0:$B0/b10 $H0:$B0/b11 $H0:$B0/b12
|
|
|
74096c |
EXPECT "1 x \(2 \+ 1\) = 3" volinfo_field $V0 "Number of Bricks"
|
|
|
74096c |
|
|
|
74096c |
--
|
|
|
74096c |
1.8.3.1
|
|
|
74096c |
|