[Gluster-users] Can I remove a brick for dispersed volume on 3.9?

Cedric Lemarchand yipikai7 at gmail.com
Mon Dec 12 16:53:34 UTC 2016


I am not an expert, but I think bricks could not be removed on dispersed volume. Maybe “volume replace-brick” could be more accurate in this situation ?


> On 10 Dec 2016, at 12:13, Zhang Hang <hangzzzzz at qq.com> wrote:
> 
> Hi,
> I am new to glusterFS and now I am trying it with the proxmox VE under lab situation. I have 5 nodes on proxmox VE and made a dispersed volume of  1 x (4 + 1) = 5. however, the node02 has failed to work now. so i plan to reinstall proxmox VE on node02 so i need to remove the brick on node02 but i failed with this message:
> gluster> volume remove-brick DispersedVol node02:/gluster/node02/brick01 force
> Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
> volume remove-brick commit force: failed: Remove brick incorrect brick count of 1 for disperse 5
> 
> is that possible to remove a brick from the dispersed volume in this kind of circumstance?
> 
> here is some information of my volume: 
> root at node04:~# gluster 
> gluster> peer status
> Number of Peers: 4
> 
> Hostname: node02
> State: Peer in Cluster (Disconnected)
> 
> Hostname: node05
> State: Peer in Cluster (Connected)
> 
> Hostname: node03
> State: Peer in Cluster (Connected)
> 
> Hostname: node01
> State: Peer in Cluster (Connected)
> 
> gluster> volume info
>  
> Volume Name: DispersedVol
> Type: Disperse
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1 x (4 + 1) = 5
> Transport-type: tcp
> Bricks:
> Brick1: node01:/gluster/node01/brick01
> Brick2: node02:/gluster/node02/brick01
> Brick3: node03:/gluster/node03/brick01
> Brick4: node04:/gluster/node04/brick01
> Brick5: node05:/gluster/node05/brick01
> Options Reconfigured:
> nfs.disable: on
> performance.readdir-ahead: on
> transport.address-family: inet
> 
> Anybody can help? Thanks a lot!
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161212/742308ef/attachment.html>


More information about the Gluster-users mailing list