In case you do not need any data from the brick you may append "force" at the command, as the error mentions
Alex
On Nov 15, 2017 11:49, "Rudi Ahlers" <rudiahlers@xxxxxxxxx> wrote:
Hi,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.[root@virt2 ~]# gluster peer statusNumber of Peers: 3Hostname: srv1Uuid: 2bed7e51-430f-49f5-afbc-06f8cec9baeb State: Peer in Cluster (Disconnected)Hostname: srv3Uuid: 0e78793c-deca-4e3b-a36f-2333c8f91825 State: Peer in Cluster (Connected)Hostname: srv4Uuid: 1a6eedc6-59eb-4329-b091-2b9bc6f0834f State: Peer in Cluster (Connected)[root@virt2 ~]#[root@virt2 ~]# gluster volume info dataVolume Name: dataType: ReplicateVolume ID: d09e4534-8bc0-4b30-be89-bc1ec2b439c7 Status: StartedSnapshot Count: 0Number of Bricks: 1 x 3 = 3Transport-type: tcpBricks:Brick1: srv1:/gluster/data/brick1Brick2: srv2:/gluster/data/brick1Brick3: srv3:/gluster/data/brick1Options Reconfigured:nfs.disable: ontransport.address-family: inetperformance.quick-read: offperformance.read-ahead: offperformance.io-cache: offperformance.low-prio-threads: 32network.remote-dio: enablecluster.eager-lock: enablecluster.quorum-type: autocluster.server-quorum-type: servercluster.data-self-heal-algorithm: full cluster.locking-scheme: granularcluster.shd-max-threads: 8cluster.shd-wait-qlength: 10000features.shard: onuser.cifs: offstorage.owner-uid: 36storage.owner-gid: 36features.shard-block-size: 512MB[root@virt2 ~]# gluster volume remove-brick data replica 2 srv1:/gluster/data/brick1 startvolume remove-brick start: failed: Migration of data is not needed when reducing replica count. Use the 'force' option[root@virt2 ~]# gluster volume remove-brick data replica 2 srv1:/gluster/data/brick1 commitRemoving brick(s) can result in data loss. Do you want to Continue? (y/n) yvolume remove-brick commit: failed: Brick srv1:/gluster/data/brick1 is not decommissioned. Use start or force optionThe server virt1 is not part of the cluster anymore.--
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users