如何从失败的 Gluster 对等体中移除砖块?

如何从失败的 Gluster 对等体中移除砖块?

我有一台主机已损坏,并被标记Disconnected为池列表中的主机。要移除主机并替换它,我需要移除砖块。

我的砖块信息:

Volume Name: myvol
Type: Distributed-Replicate
Volume ID: ccfe4f42-9e5c-42b2-aa62-5f1cc236e346
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x (2 + 1) = 6
Transport-type: tcp
Bricks:
Brick1: app-dev-v-job-0001.mydomain:/data/glusterfs/volumes/app
Brick2: app-dev-v-job-0002.mydomain:/data/glusterfs/volumes/app
Brick3: app-dev-v-job-0003.mydomain:/data/glusterfs/volumes/app (arbiter)
Brick4: app-dev-v-task-0001.mydomain:/data/glusterfs/volumes/app
Brick5: app-dev-v-task-0002.mydomain:/data/glusterfs/volumes/app
Brick6: app-dev-v-task-0003.mydomain:/data/glusterfs/volumes/app (arbiter)
Options Reconfigured:
performance.client-io-threads: off
nfs.disable: on
transport.address-family: inet

损坏的砖块app-dev-v-task-0002.mydomain:/data/glusterfs/volumes/app

我跑gluster volume remove-brick myvol replica 3 app-dev-v-task-0002.mydomain:/data/glusterfs/volumes/app force

但我得到:volume remove-brick commit force:失败:提供的砖块数量(1)无效。至少需要 3(或 3xN)

这是否意味着我需要移除所有砖块?这不会删除/破坏所有数据吗?

相关内容