Bug 765306 (GLUSTER-3574)

Summary: Rebalance operation should not start if one of the brick is offline
Product: [Community] GlusterFS Reporter: shylesh <shylesh>
Component: coreAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description shylesh 2011-09-16 11:41:10 UTC
1. Create a distribute volume with two bricks
2. Bring down one of the brick 
3. Initiate rebalance on this volume


Bug
----
output 
=======

[root@GVSA-GMCQA1 export]# gluster volume rebalance two-brick start 
starting rebalance on volume two-brick has been successful
[root@GVSA-GMCQA1 export]# gluster volume rebalance two-brick status
rebalance step 1: layout fix in progress
[root@GVSA-GMCQA1 export]# gluster volume rebalance two-brick status
rebalance completed


======================================

Rebalance should not start

Comment 1 Anand Avati 2011-09-22 02:30:49 UTC
CHANGE: http://review.gluster.com/481 (This will prevent rebalance to be started when a brick is down, or) merged in master by Vijay Bellur (vijay)

Comment 2 shishir gowda 2011-09-22 02:32:27 UTC
*** Bug 3585 has been marked as a duplicate of this bug. ***