<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi, Eyal<br> The feasible cmd to remove a brick, in your case, is :<br> <b>volume remove-brick images_1 replica 3 vmhost5:/exports/1 </b><br> no 'start' at the end of the cmd.<br> <br> The cmd with 'start' should work fine as well, but it fails to work , probably a bug there.<br><br><br><br>Jules Wang<br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-04-15 16:11:07,"Eyal Marantenboim" <eyal@theserverteam.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hi,<div><br></div><div style="">We have a setup of 4 nodes/bricks in a replicated setup:</div><div style=""><br></div><div style=""><div>Number of Bricks: 1 x 4 = 4</div><div>Transport-type: tcp</div><div>Bricks:</div>
<div>Brick1: vmhost2:/exports/1</div><div>Brick2: vmhost3:/exports/1</div><div>Brick3: vmhost5:/exports/1</div><div>Brick4: vmhost6:/exports/1</div><div><br></div></div><div>I'm trying to remove one of them (vmhost5):</div>
<div><div>gluster> volume remove-brick images_1 replica 3 vmhost5:/exports/1 start</div><div>Remove Brick start unsuccessful</div><div><br></div><div>gluster> volume remove-brick images_1 replica 3 vmhost5:/exports/1 status</div>
<div>Volume images_1 is not a distribute volume or contains only 1 brick.</div><div>Not performing rebalance</div></div><div><br></div><div><div>gluster> volume info images_1</div><div>Volume Name: images_1<br></div><div>
Type: Distributed-Replicate</div><div>Volume ID: 30c9c2d8-94c9-4b59-b647-0dc593d903d3</div><div>Status: Started</div><div>Number of Bricks: 1 x 3 = 4</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: vmhost2:/exports/1</div>
<div>Brick2: vmhost3:/exports/1</div><div>Brick3: vmhost5:/exports/1</div><div>Brick4: vmhost6:/exports/1</div></div><div><br></div><div style="">A few questions that hopefully someone can help me:</div><div style=""><br></div>
<div style="">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</div><div style=""><br></div><div style="">
What am I doing wrong? :)</div><div style=""><br></div><div style="">Thanks!</div></div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>