<div dir="ltr">Hi, <div><br></div><div>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><br></div><div><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-06f8cec9baeb</div><div>State: Peer in Cluster (Disconnected)</div><div><br></div><div>Hostname: srv3</div><div>Uuid: 0e78793c-deca-4e3b-a36f-2333c8f91825</div><div>State: Peer in Cluster (Connected)</div><div><br></div><div>Hostname: srv4</div><div>Uuid: 1a6eedc6-59eb-4329-b091-2b9bc6f0834f</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-bc1ec2b439c7</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-algorithm: 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 &#39;force&#39; 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><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_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>
</div></div>