diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-06 14:32:15 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-06 14:32:40 +0530 |
commit | 20bdd60eea85f58a61b60e62575b7ffe989fe39b (patch) | |
tree | fe7784d675d0b350c2ac5b3f612ff9188cbd83e0 /dvm | |
parent | df0e9eb86930aeb666f560764e0ef8f7523997d1 (diff) |
2567: use mode=script while creating the replicate volume
Change-Id: Ice18739a5cf48d8e8b388b144f93547a6a5d896a
BUG: 2567
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'dvm')
-rwxr-xr-x | dvm/2567/testcase | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dvm/2567/testcase b/dvm/2567/testcase index 3ab7262..54ba8c5 100755 --- a/dvm/2567/testcase +++ b/dvm/2567/testcase @@ -7,12 +7,16 @@ function _init () function self_heal () { - $GLUSTERFSDIR/gluster volume create $global_bug_id replica 2 $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 2>/dev/null 1>/dev/null + $GLUSTERFSDIR/gluster --mode=script volume create $global_bug_id replica 2 $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 2>/dev/null 1>/dev/null $GLUSTERFSDIR/gluster volume start $global_bug_id 2>/dev/null 1>/dev/null; + sleep 1; + mount_glusterfs $global_bug_id; + sleep 1; + for i in $(ls /etc/glusterd/vols/$global_bug_id/run) do pid=$(cat /etc/glusterd/vols/$global_bug_id/run/$i); |