summaryrefslogtreecommitdiffstats
path: root/sanity/nightly_sanity
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-21 10:55:10 +0530
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-21 10:55:10 +0530
commit4bb465ad38bc1f35d4fd71d5d8e5c28fe7b8e57b (patch)
treef116a79bcab34de79261deed93346aa2a15b85a1 /sanity/nightly_sanity
parentb883eee1be89b5530585c714242af92152dd64c3 (diff)
nightly_sanity/nighty_updated.sh: use mode=script in creating the volume
Diffstat (limited to 'sanity/nightly_sanity')
-rwxr-xr-xsanity/nightly_sanity/nightly_updated.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/sanity/nightly_sanity/nightly_updated.sh b/sanity/nightly_sanity/nightly_updated.sh
index 0c07955..4e6bb0d 100755
--- a/sanity/nightly_sanity/nightly_updated.sh
+++ b/sanity/nightly_sanity/nightly_updated.sh
@@ -221,7 +221,7 @@ function volume_create ()
vol_type=$1;
if [ $vol_type == "dht" ]; then
echo "Creating the distribute volume";
- gluster volume create vol $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
+ gluster --mode=script volume create vol $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
if [ $? -ne 0 ]; then
echo "gluster volume create failed. Check glusterd log file";
return 11;
@@ -232,7 +232,7 @@ function volume_create ()
if [ $vol_type == "afr" ]; then
echo "Creating the replicate volume"
- gluster volume create vol replica 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2;
+ gluster --mode=script volume create vol replica 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2;
if [ $? -ne 0 ]; then
echo "gluster volume create failed. Check glusterd log file";
return 11;
@@ -243,7 +243,7 @@ function volume_create ()
if [ $vol_type == "stripe" ]; then
echo "Creating the stripe volume";
- gluster volume create vol stripe 4 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
+ gluster --mode=script volume create vol stripe 4 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
if [ $? -ne 0 ]; then
echo "gluster volume create failed. Check glusterd log file";
return 11;
@@ -254,7 +254,7 @@ function volume_create ()
if [ $vol_type == "disrep" ]; then
echo "Creating a distributed-replicate volume";
- gluster volume create vol replica 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
+ gluster --mode=script volume create vol replica 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
if [ $? -ne 0 ]; then
echo "gluster volume create failed. Check glusterd log file";
return 11;
@@ -265,7 +265,7 @@ function volume_create ()
if [ $vol_type == "dis-stripe" ]; then
echo "Creating a distributed-stripe volume";
- gluster volume create vol stripe 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
+ gluster --mode=script volume create vol stripe 2 $(hostname):$EXPORTDIR/export1 $(hostname):$EXPORTDIR/export2 $(hostname):$EXPORTDIR/export3 $(hostname):$EXPORTDIR/export4;
if [ $? -ne 0 ]; then
echo "gluster volume create failed. Check glusterd log file";
return 11;