<div dir="ltr">Hello Rudi,<div><br></div><div> Removing a brick from a replica 3 volume means that you are reducing the replica count from 3 to 2. You are seeing the first error because when you are trying to remove a brick from replica 3 volume you do not need to migrate data as the same data is present in other two replicate sets. What you could simply do is 'gluster volume remove-brick data replica 2 srv1:/<span style="font-size:12.8px">gluster/data/brick1 force' which removes it from the volume.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Hope this helps !!!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks</span></div><div><span style="font-size:12.8px">kasturi<br></span><div><br></div><div> </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 15, 2017 at 5:13 PM, Rudi Ahlers <span dir="ltr"><<a href="mailto:rudiahlers@gmail.com" target="_blank">rudiahlers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi, </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am trying to remove a brick, from a server which is no longer part of the gluster pool, but I keep running into errors for which I cannot find answers on google. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>[root@virt2 ~]# gluster peer status</div><div>Number of Peers: 3</div><div><br></div><div>Hostname: srv1</div><div>Uuid: 2bed7e51-430f-49f5-afbc-06f8ce<wbr>c9baeb</div><div>State: Peer in Cluster (Disconnected)</div><div><br></div><div>Hostname: srv3</div><div>Uuid: 0e78793c-deca-4e3b-a36f-2333c8<wbr>f91825</div><div>State: Peer in Cluster (Connected)</div><div><br></div><div>Hostname: srv4</div><div>Uuid: 1a6eedc6-59eb-4329-b091-2b9bc6<wbr>f0834f</div><div>State: Peer in Cluster (Connected)</div><div>[root@virt2 ~]#</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>[root@virt2 ~]# gluster volume info data</div><div><br></div><div>Volume Name: data</div><div>Type: Replicate</div><div>Volume ID: d09e4534-8bc0-4b30-be89-bc1ec2<wbr>b439c7</div><div>Status: Started</div><div>Snapshot Count: 0</div><div>Number of Bricks: 1 x 3 = 3</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: srv1:/gluster/data/brick1</div><div>Brick2: srv2:/gluster/data/brick1</div><div>Brick3: srv3:/gluster/data/brick1</div><div>Options Reconfigured:</div><div>nfs.disable: on</div><div>transport.address-family: inet</div><div>performance.quick-read: off</div><div>performance.read-ahead: off</div><div>performance.io-cache: off</div><div>performance.low-prio-threads: 32</div><div>network.remote-dio: enable</div><div>cluster.eager-lock: enable</div><div>cluster.quorum-type: auto</div><div>cluster.server-quorum-type: server</div><div>cluster.data-self-heal-algorit<wbr>hm: full</div><div>cluster.locking-scheme: granular</div><div>cluster.shd-max-threads: 8</div><div>cluster.shd-wait-qlength: 10000</div><div>features.shard: on</div><div>user.cifs: off</div><div>storage.owner-uid: 36</div><div>storage.owner-gid: 36</div><div>features.shard-block-size: 512MB</div></div><div><br></div><div><br></div><div><br></div><div><div>[root@virt2 ~]# gluster volume remove-brick data replica 2 srv1:/gluster/data/brick1 start</div><div>volume remove-brick start: failed: Migration of data is not needed when reducing replica count. Use the 'force' option</div></div><div><br></div><div><br></div><div><div>[root@virt2 ~]# gluster volume remove-brick data replica 2 srv1:/gluster/data/brick1 commit</div><div>Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y</div><div>volume remove-brick commit: failed: Brick srv1:/gluster/data/brick1 is not decommissioned. Use start or force option</div></div><div><br></div><div><br></div><div><br></div><div>The server virt1 is not part of the cluster anymore. </div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_9107472981422543620gmail_signature">Kind Regards<br>Rudi Ahlers<br>Website: <a href="http://www.rudiahlers.co.za" target="_blank">http://www.rudiahlers.co.za</a><br></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>