Hello,


$ gluster volume info GV2Data
 Volume Name: GV2Data
Type: Replicate
Volume ID: c1946fc2-ed94-4b9f-9da3-f0f1ee90f303
Status: Stopped
Snapshot Count: 0
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: office-wx-hv1-lab-gfs:/mnt/LogGFSData/brick  <------ This is the dead host.
Brick2: office-wx-hv2-lab-gfs:/mnt/LogGFSData/brick
Brick3: office-wx-hv3-lab-gfs:/mnt/LogGFSData/brick (arbiter)

I tried to remove the dead brick, and failed.
$ gluster volume remove-brick GV2Data replica 1 office-wx-hv1-lab-gfs:/mnt/LogGFSData/brick force
...volume remove-brick start: failed: need 2(xN) bricks for reducing replica count of the volume from 3 to 1

What was I doing wrong?
(Assuming my original configuration, 2 + 1, was acceptable).

- Gilboa

On Wed, Jul 20, 2022 at 7:14 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
The remove-brick expects the bricks that have to be removed.
Yet, you specified 1 brick, so 2 are left in the volume -> yet you specified 'replica 1'.
Define both the data brick and the arbiter brick.

Best Regards,
Strahil Nikolov 

On Wed, Jul 20, 2022 at 13:34, Gilboa Davara
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/I2S247DEVERX7NPBNGJOU26QSNXMPPTO/