Bug 763614 (GLUSTER-1882)

Summary: starting rebalance while previous rebalance is still running
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1-alphaCC: amarts, divya, gluster-bugs, nsathyan, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: All
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lakshmipathi G 2010-10-09 13:02:27 UTC
Added few bricks and started rebalance. status gave migrated files.
While trying to start again from same brick it failed as unsuccessful. But if add-brick command executed during it says appropriate message "Volume name qa43dht rebalance is in progress. Please retry after completion"

======================================
10.192.141.187#gluster volume rebalance qa43dht status
rebalance step 2: data migration in progress: rebalanced 2353 files of size 0 (total files scanned 7373)

10.192.141.187#gluster volume rebalance qa43dht start
starting rebalance on volume qa43dht has been unsuccessful
==============================


=============
#gluster volume rebalance qa43dht status
rebalance step 1: layout fix in progress
10.192.141.187#gluster volume add-brick qa43dht 10.192.134.144:/mnt/QA43
Add Brick unsuccessful
Volume name qa43dht rebalance is in progress. Please retry after completion
10.192.141.187#gluster volume rebalance qa43dht status
rebalance step 2: data migration in progress
=============

Comment 1 Anand Avati 2010-10-25 03:17:52 UTC
PATCH: http://patches.gluster.com/patch/5524 in master (Propogate rebalance already started error to cli)

Comment 2 Lakshmipathi G 2010-11-11 03:34:57 UTC
tested with 3.1.1qa5  -fixed.

----------
# gluster volume rebalance qa5  start
starting rebalance on volume qa5 has been successful

[root@space laks]# gluster volume rebalance qa5  start
starting rebalance on volume qa5 has been unsuccessful
Rebalance already started on volume qa5
----------

Comment 3 Amar Tumballi 2011-02-15 06:07:46 UTC
Can add this to FAQ. Previous reply has the proper output.