On 4 December 2013 04:33, Will Glass-Husain <[email protected]> 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 info > > Volume Name: eproduct > Type: Replicate > Volume ID: 1325b138-9777-4d76-9701-6410c0ff35d9 > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: staging1:/export/brick1 > Brick2: 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/brick2 > volume 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/ 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 > [email protected] > http://supercolony.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list [email protected] http://supercolony.gluster.org/mailman/listinfo/gluster-users
