[Gluster-users] add-brick to replicated setup

Pranith Kumar. Karampuri
Mon, 07 Feb 2011 05:49:30 -0000

hi Patrick,
     Because the Volume is created with replica type with 2 bricks per replica,
you can only add bricks only in multiples of two.

Pranith.
----- Original Message -----
From: "Patrick Irvine" <pirv at cybersites.ca>
To: gluster-users at gluster.org
Sent: Monday, February 7, 2011 3:51:26 AM
Subject: [Gluster-users] add-brick to replicated setup

Hi List,

I am running gluster 3.1.2 on a three node gentoo based cluster.

I have set up a two brick replicated setup.

#gluster volume info repstore1

Volume Name: repstore1
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: gluster1:/iscsi/1/data
Brick2: gluster3:/data/gluster3.data

I can not add a new brick to it though,

# gluster volume add-brick repstore1 gluster3:/iscsi/2/data
Incorrect number of bricks supplied 1 for type REPLICATE with count 2

is this incorrect syntax or is this just not possible right now?

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