From 20bdd60eea85f58a61b60e62575b7ffe989fe39b Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 6 Jan 2012 14:32:15 +0530 Subject: 2567: use mode=script while creating the replicate volume Change-Id: Ice18739a5cf48d8e8b388b144f93547a6a5d896a BUG: 2567 Signed-off-by: Raghavendra Bhat --- dvm/2567/testcase | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dvm/2567') 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); -- cgit