On 4 December 2013 04:33, Will Glass-Husain <wglass@xxxxxxxxx> wrote:
Hi,I'm trying to expand my replicated volume but am getting an error. My goal is to double my capacity by adding new volumes. Any suggestions?# gluster volume infoVolume Name: eproductType: ReplicateVolume ID: 1325b138-9777-4d76-9701-6410c0ff35d9Status: StartedNumber of Bricks: 1 x 2 = 2Transport-type: tcpBricks:Brick1: staging1:/export/brick1Brick2: staging2:/export/brick1(I created a new volume /export/brick2 on each of the two servers)# gluster volume add-brick eproduct staging1:/export/brick2 staging2:/export/brick2volume add-brick: failed: /export/brick2 or a prefix of it is already part of a volume
Looks like export brick "/export/brick2" was part of some other gluster volume before. Brick has some xattrs which needs to be cleared before adding them to the gluster volume.
This should help you.
http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/
http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/
Note that you will have to run rebalance after adding new bricks.
---Would appreciate suggestions as to what I need to do to add new volumes to give me larger storage capacity.Thanks!WILL
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users