summaryrefslogtreecommitdiffstats
path: root/extras/test/gluster_commands.sh
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-11-09 04:08:33 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-09 02:12:27 -0800
commit16eb9f73a5a7699d5c51d8139b4f1bc77ee3deda (patch)
tree2948b302de0cdb264abceee34c7f503620ce95c2 /extras/test/gluster_commands.sh
parent891216e186b436444bc5368a96318df7364ce30a (diff)
glusterd test-script change in add/remove-brick syntax
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1436 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1436
Diffstat (limited to 'extras/test/gluster_commands.sh')
-rwxr-xr-xextras/test/gluster_commands.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/test/gluster_commands.sh b/extras/test/gluster_commands.sh
index 6774f226281..896a05b6ff6 100755
--- a/extras/test/gluster_commands.sh
+++ b/extras/test/gluster_commands.sh
@@ -134,7 +134,7 @@ df -h
sleep 1
echo "adding-brick......."
-gluster volume add-brick mirror replica 2 `hostname`:/exports/exp3 `hostname`:/exports/exp4
+gluster volume add-brick mirror `hostname`:/exports/exp3 `hostname`:/exports/exp4
gluster volume info
sleep 1
df -h
@@ -176,7 +176,7 @@ df -h
sleep 1
echo "removeing-brick....."
-gluster --mode=script volume remove-brick mirror replica 2 `hostname`:/exports/exp3 `hostname`:/exports/exp4
+gluster --mode=script volume remove-brick mirror `hostname`:/exports/exp3 `hostname`:/exports/exp4
gluster volume info
sleep 1
df -h
@@ -211,7 +211,7 @@ df -h
sleep 1
echo "adding brick...."
-gluster volume add-brick str stripe 2 `hostname`:/exports/exp3 `hostname`:/exports/exp4
+gluster volume add-brick str `hostname`:/exports/exp3 `hostname`:/exports/exp4
gluster volume info
sleep 1
df -h
@@ -254,7 +254,7 @@ df -h
sleep 1
echo "removing-brick....."
-gluster --mode=script volume remove-brick str stripe 2 `hostname`:/exports/exp3 `hostname`:/exports/exp4
+gluster --mode=script volume remove-brick str `hostname`:/exports/exp3 `hostname`:/exports/exp4
gluster volume info
sleep 1
df -h