Bug 957005 - "remove-brick start" fails when removing a brick from replica volume
Summary: "remove-brick start" fails when removing a brick from replica volume
Keywords:
Status: CLOSED DUPLICATE of bug 961669
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
: 957063 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-26 07:47 UTC by Jules Wang
Modified: 2014-07-11 16:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-11 16:01:26 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Jules Wang 2013-04-26 07:47:15 UTC
Description of problem:
just paste the email content from Eyal Marantenboim:

We have a setup of 4 nodes/bricks in a replicated setup:

Number of Bricks: 1 x 4 = 4
Transport-type: tcp
Bricks:
Brick1: vmhost2:/exports/1
Brick2: vmhost3:/exports/1
Brick3: vmhost5:/exports/1
Brick4: vmhost6:/exports/1

I'm trying to remove one of them (vmhost5):
gluster> volume remove-brick images_1 replica 3 vmhost5:/exports/1 start
Remove Brick start unsuccessful

gluster> volume remove-brick images_1 replica 3 vmhost5:/exports/1 status
Volume images_1 is not a distribute volume or contains only 1 brick.
Not performing rebalance

gluster> volume info images_1
Volume Name: images_1
Type: Distributed-Replicate
Volume ID: 30c9c2d8-94c9-4b59-b647-0dc593d903d3
Status: Started
Number of Bricks: 1 x 3 = 4
Transport-type: tcp
Bricks:
Brick1: vmhost2:/exports/1
Brick2: vmhost3:/exports/1
Brick3: vmhost5:/exports/1
Brick4: vmhost6:/exports/1
Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.gluster volume create four replica 4 cc07:/a1 cc07:/a2 cc07:/a3 cc07:/a4
2.gluster volume start four
3.gluster volume remove-brick four replica 3 cc07:/a3 start
note: "start" is required

Actual results:
Remove Brick start unsuccessful

Expected results:
Remove Brick start successful

Additional info:

Comment 1 Ravishankar N 2013-08-30 04:26:11 UTC
*** Bug 957063 has been marked as a duplicate of this bug. ***

Comment 2 Ravishankar N 2013-08-30 04:39:42 UTC
Hi Jules,
The remove-brick 'start' variant is applicable only when you have the dht (or 
distribute) type volume. More on this here:http://www.mail-archive.com/gluster-users@gluster.org/msg12413.html

The 'start' is not needed for removing bricks from replicate volume. A (trivial) fix for the same has been recently merged upstream: http://review.gluster.org/#/c/5566/

Thanks,
-Ravi

Comment 3 Niels de Vos 2014-07-11 16:01:26 UTC

*** This bug has been marked as a duplicate of bug 961669 ***


Note You need to log in before you can comment on or make changes to this bug.