path: root/
diff options
authorKaushal M <>2011-08-03 18:12:21 +0530
committerVijay Bellur <>2011-09-18 23:46:09 -0700
commite378778686fca24934e76c41e6496b12162a5420 (patch)
treeb917a0af19eed73e3f600cf92982aa9760ad73ee /
parent46a7adafe94b14778328d77a7f743fbce17341e3 (diff)
cli : check for bad brick order while creating replicate volume
gluster cli now checks the brick order when creating a replicate or distributed-replicate volume. If a non-optimal order is found the user is given a warning and asked if the volume creation can proceed. Change-Id: I38c4cb65bffb40ccf95319cf3f4f3423a4cdebe9 BUG: 2407 Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to '')
1 files changed, 1 insertions, 1 deletions
diff --git a/ b/
index 3226b74..612f640 100755
--- a/
+++ b/
@@ -23,7 +23,7 @@ function start_fs()
chmod 0755 $P/export;
- gluster volume create $V replica 2 $H:$P/export/export{1,2,3,4};
+ gluster --mode=script volume create $V replica 2 $H:$P/export/export{1,2,3,4};
gluster volume start $V;
glusterfs -s $H --volfile-id $V $M;
# mount -t glusterfs $H:/$V $M;