[Gluster-users] Removing brick from replicated
Jules Wang
lancelotds at 163.com
Fri Apr 26 03:05:49 UTC 2013
hi, Eyal
The feasible cmd to remove a brick, in your case, is :
volume remove-brick images_1 replica 3 vmhost5:/exports/1
no 'start' at the end of the cmd.
The cmd with 'start' should work fine as well, but it fails to work , probably a bug there.
Jules Wang
At 2013-04-15 16:11:07,"Eyal Marantenboim" <eyal at theserverteam.com> wrote:
Hi,
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
A few questions that hopefully someone can help me:
Why does it say "Type: Distributed-Replicate" and "Number of Bricks 1 x 3 = 4" if ,after executing the "remove-brick" command, I got: unsuccessful
What am I doing wrong? :)
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130426/2eb1223c/attachment.html>
More information about the Gluster-users
mailing list