diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-10-01 01:35:22 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-01 01:02:45 -0700 |
commit | 4ec7688091f9d6ee2a6886d53055b94f284c1f7a (patch) | |
tree | ad78d98d706af4231608217551133275b9ea133d /extras | |
parent | 64437e01d920597140b35bfeb46591966584e7fc (diff) |
changes for the gluster sanity script
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1436 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1436
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/test/gluster_commands.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/extras/test/gluster_commands.sh b/extras/test/gluster_commands.sh index 8db4de9c16c..ea42a577d0a 100755 --- a/extras/test/gluster_commands.sh +++ b/extras/test/gluster_commands.sh @@ -52,6 +52,7 @@ echo "adding-brick......." gluster volume add-brick vol `hostname`:/exports/exp2 gluster volume info sleep 1 +umount /mnt/client mount -t glusterfs `hostname`:vol /mnt/client df -h sleep 1 @@ -60,8 +61,21 @@ echo "replacing brick......" gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 start gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 status gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 pause -gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 abort +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 status +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 start +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 status gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 commit + + +echo "replcing brick for abort operation" +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 start +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 status +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 pause +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 status +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 start +gluster volume replace-brick vol `hostname`:/exports/exp1 `hostname`:/exports/exp3 abort + + gluster volume info sleep 1 df -h |