summaryrefslogtreecommitdiffstats
path: root/smoke.sh
diff options
context:
space:
mode:
authorKaushal M <kaushal@gluster.com>2011-08-03 18:12:21 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-18 23:46:09 -0700
commite378778686fca24934e76c41e6496b12162a5420 (patch)
treeb917a0af19eed73e3f600cf92982aa9760ad73ee /smoke.sh
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: http://review.gluster.com/151 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'smoke.sh')
-rwxr-xr-xsmoke.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoke.sh b/smoke.sh
index 3226b74..612f640 100755
--- a/smoke.sh
+++ b/smoke.sh
@@ -23,7 +23,7 @@ function start_fs()
chmod 0755 $P/export;
glusterd;
- 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;