<div dir="ltr">Hi There,<div><br></div><div>I&#39;m currently testing Gluster for possible production use. I haven&#39;t been able to find the answer to this question in the forum arch or in the public docs. It&#39;s possible that I don&#39;t know which keywords to search for.</div>
<div><br></div><div>Here&#39;s the question (more details below): let&#39;s say that one of my bricks &quot;fails&quot; -- <i>not</i> a whole node failure but a single brick failure within the node. How do I replace a single brick on a node and force a sync from one of the replicas?</div>
<div><br></div><div>I have two nodes with 5 bricks each:</div><div><div>gluster&gt; volume info test-a</div><div><br></div><div>Volume Name: test-a</div><div>Type: Distributed-Replicate</div><div>Volume ID: e8957773-dd36-44ae-b80a-01e22c78a8b4</div>
<div>Status: Started</div><div>Number of Bricks: 5 x 2 = 10</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: 10.250.4.63:/localmnt/g1lv2</div><div>Brick2: 10.250.4.65:/localmnt/g2lv2</div><div>Brick3: 10.250.4.63:/localmnt/g1lv3</div>
<div>Brick4: 10.250.4.65:/localmnt/g2lv3</div><div>Brick5: 10.250.4.63:/localmnt/g1lv4</div><div>Brick6: 10.250.4.65:/localmnt/g2lv4</div><div>Brick7: 10.250.4.63:/localmnt/g1lv5</div><div>Brick8: 10.250.4.65:/localmnt/g2lv5</div>
<div>Brick9: 10.250.4.63:/localmnt/g1lv1</div><div>Brick10: 10.250.4.65:/localmnt/g2lv1</div></div><div><br></div><div>I formatted 10.250.4.65:/localmnt/g2lv5 (to simulate a &quot;failure&quot;). What is the next step? I have tried various combinations of removing and re-adding the brick, replacing the brick, etc. I read in a previous message to this list that replace-brick was for planned changes which makes sense, so that&#39;s probably not my next step.</div>
<div><br></div><div>Cheers,</div><div>Dave</div></div>