[Gluster-users] add bricks on distributed replicated volume failed

Burnash, James jburnash at knight.com
Wed Aug 31 18:07:32 UTC 2011

Hi Laurent.

Since your configuration specifies replication, you must add bricks in the same number as your number of replicas.

For instance - if you have 2 replicas (most normal case), you would need to do something like this:

gluster volume add-brick cluster node05:/gluster1 node06:/gluster1

James Burnash
Unix Engineer
Knight Capital Group

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Laurent DOUCHY
Sent: Wednesday, August 31, 2011 12:49 PM
To: gluster-users at gluster.org
Subject: [Gluster-users] add bricks on distributed replicated volume failed


I'm using gluster 3.2.2 on 10 nodes. Each node have 2x2 TB disk for gluster.

I manage to configure a distributed and replicated volume on 4 nodes :

[root at node07 ~]# gluster volume info cluster

Volume Name: cluster
Type: Distributed-Replicate
Status: Started
Number of Bricks: 4 x 2 = 8
Transport-type: tcp
Brick1: node09:/gluster1
Brick2: node10:/gluster1
Brick3: node09:/gluster2
Brick4: node10:/gluster2
Brick5: node07:/gluster1
Brick6: node08:/gluster1
Brick7: node07:/gluster2
Brick8: node08:/gluster2

But I can't add new nodes to this volume

[root at node07 ~]# gluster peer status
Number of Peers: 5

Hostname: node10
Uuid: 212ce5a0-de51-4a98-9262-ae071c2d63a0
State: Peer in Cluster (Connected)

Hostname: node08
Uuid: dd114546-5b94-4a62-9301-260703bf5707
State: Peer in Cluster (Connected)

Hostname: node09
Uuid: f73fee83-8d47-4f07-bfac-b8a8592eff04
State: Peer in Cluster (Connected)

Hostname: node06
Uuid: 3142fb9a-0a6b-46ec-9262-ede95e8f798a
State: Peer in Cluster (Connected)

Hostname: node05
Uuid: 13ffcf87-6e8d-4c6b-814a-cbc14d15d88b
State: Peer in Cluster (Connected)
[root at node07 ~]# gluster volume add-brick cluster node05:/gluster1
node06:/gluster1 node05:/gluster2 node06:/gluster2 Operation failed on node05

I try to detach nodes 5 and 6, restart glusterd do the probe and the add-brick but still nothing ...

Did some one have any idea to fix this ?

Thanks in advance,

Gluster-users mailing list
Gluster-users at gluster.org

This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. 
NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group may, at its discretion, monitor and review the content of all e-mail communications. http://www.knight.com

More information about the Gluster-users mailing list