I've had this issue recently. The error occurred because I tried adding a
brick that was previously part of another volume. If this is the case for
you, then this article may be helpful:
http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/
You'll need to install the 'attr' package to remove the attributes
of the
brick directory that specify that it already belongs to another volume.
On Mon, Jul 1, 2013 at 6:04 PM, Matthew Sacks <msacksdandb at gmail.com>
wrote:
> Hello,
> I am having trouble expanding a volume. Every time I try to add bricks to
> the volume, I get this error:
>
> [root at gluster1 sdb1]# gluster volume add-brick vg0
> gluster5:/export/brick2/sdb1 gluster6:/export/brick2/sdb1
> /export/brick2/sdb1 or a prefix of it is already part of a volume
>
>
> Here is the volume info:
> [root at gluster1 sdb1]# gluster volume info vg0
>
> Volume Name: vg0
> Type: Distributed-Replicate
> Volume ID: 7ebad06f-2b44-4769-a395-475f300608e6
> Status: Started
> Number of Bricks: 2 x 2 = 4
> Transport-type: tcp
> Bricks:
> Brick1: gluster1:/export/brick2/sdb1
> Brick2: gluster2:/export/brick2/sdb1
> Brick3: gluster3:/export/brick2/sdb1
> Brick4: gluster4:/export/brick2/sdb1
>
> Any help is appreciated.
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130701/83dfdd10/attachment.html>