Hi,

> root@srvdst01:~# gluster volume add-brick videos srv3:/srv/vol1
> volume add-brick: failed: Incorrect number of bricks supplied 1 with count 2

It is a distribute-replica type of volume with replica count 2. Hence 
whenever you add bricks you have to add bricks in multiple of 2. 
Hence the error - Incorrect number of bricks supplied 1 with count 2.

> Ok, trying to change the num of replica's or whatever just results in

> root@srvdst01:~# gluster volume add-brick videos replica 3 
> srv3:/srv/vol1 (or vol3 or vol4, this doesnt matter)
> volume add-brick: failed: Operation failed

You can just add bricks in multiple of 2 instead of changing the replica count. 
Also in the above
command you have given the replica count as 3 yet supplied just one brick, 
hence the command fails.



Thanks,
Sakshi Bansal
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to