Re: Problem adding brick to an existing volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux