[Gluster-users] adding a node
JF Le Fillâtre
jean-francois.lefillatre at uni.lu
Mon Mar 16 15:28:44 UTC 2015
Hello,
You cannot. As the message said, you cannot change the stripe count. So
you can add 4 bricks and you have a distributed + striped volume, but
you cannot change the stripe count by re-adding existing bricks into the
volume with a different stripe count, or by adding an additional brick
to the volume.
Your email isn't very clear; could you please send:
- the list of commands in the order that you typed them;
- the output of "gluster volume info" and "gluster volume status"
Thanks!
JF
On 16/03/15 16:17, Pierre Léonard wrote:
> Hi All,
>
> I am note the alone guy having problem with the addition of a node to an
> existing distributed stripped or replicated volume.
> And I never read a real solution.
>
> My configuration is the following :
>
> * four node with a gvHome stripped 2 volume ;
> * first I probe the new node ans its OK ;
> * then I start to add the node:/brick to the four other and get the
> answer that I have to add a multiple of the striped so 4 other node.
> But I have only one ;
> * So I try to make the addition from the new node. If I list the
> volume on the new node it recognize the stripped volume. So I stop
> the volume on the four and add : gluster volume add-brick gvHome
> stripe 2 boogy1:/mnt/gvHome/brick1 boogy2:/mnt/gvHome/brick1
> boogy3:/mnt/gvHome/brick1 boogy4:/mnt/gvHome/brick1 the answer is
> the following :
>
> [root at moody ~]# gluster volume add-brick gvHome stripe 2
> boogy1:/mnt/gvHome/brick1 boogy2:/mnt/gvHome/brick1
> boogy3:/mnt/gvHome/brick1 boogy4:/mnt/gvHome/brick1
> Changing the 'stripe count' of the volume is not a supported feature. In
> some cases it may result in data loss on the volume. Also there may be
> issues with regular filesystem operations on the volume after the
> change. Do you really want to continue with 'stripe' count option ? (y/n) y
> volume add-brick: failed: Staging failed on boogy2. Error: Brick:
> boogy2:/mnt/gvHome/brick1 not available. Brick may be containing or be
> contained by an existing brick
> Staging failed on boogy3. Error: Brick: boogy3:/mnt/gvHome/brick1 not
> available. Brick may be containing or be contained by an existing brick
> Staging failed on boogy1. Error: Brick: boogy1:/mnt/gvHome/brick1 not
> available. Brick may be containing or be contained by an existing brick
> Staging failed on 138.102.172.94. Error: Brick:
> boogy4:/mnt/gvHome/brick1 not available. Brick may be containing or be
> contained by an existing brick
>
>
> So how to add node one by one ?
>
> Many Thank's
>
> sincerely
>
> --
> Signature electronique
> INRA <http://www.inra.fr>
>
> *Pierre Léonard*
> *Senior IT Manager*
> *MetaGenoPolis*
> Pierre.Leonard at jouy.inra.fr <mailto:Pierre.Leonard at jouy.inra.fr>
> Tél. : +33 (0)1 34 65 29 78
>
> Centre de recherche INRA
> Domaine de Vilvert – Bât. 325 R+1
> 78 352 Jouy-en-Josas CEDEX
> France
> www.mgps.eu <http://www.mgps.eu>
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>
--
Jean-François Le Fillâtre
-------------------------------
HPC Systems Administrator
LCSB - University of Luxembourg
-------------------------------
PGP KeyID 0x134657C6
More information about the Gluster-users
mailing list