[Gluster-users] About adding bricks ...

Hans Lambermont hans at shapeways.com
Wed Mar 20 10:39:05 UTC 2013


Hi Markus,

Markus Hubig wrote on 20130320:
...
> # gluster volume add-brick glusterfs gluster02:/srv/gluster/exp{0..1}
...
> But I think I'll maybe get this one:
> 
> +-------------+   +-------------+   +-------------+
> |  gluster00  |   |  gluster01  |   |  gluster02  |
> +-------------+   +-------------+   +-------------+
> | exp0 | exp1 |   | exp0 | exp1 |   | exp0 | exp1 |
> +------+------+   +------+------+   +------+------+
>     |      |          |      |          |     |
>     +------+----------+      |          +-----+
>            |                 |
>            +-----------------+
> 
> So how can I get the schema I want? Is this even possible?

Afaik it involves replace-brick commands (use this on >= 3.3.1).

So instead of the add-brick you'd do something like this :

- replace-brick gluster00:exp0 gluster02:exp0

You go to sleep for 2 days ;-)

- replace-brick gluster01:exp0 gluster02:exp1

You sleep another 2 days, then

- add-brick gluster00:exp0 gluster01:exp0

and then start the 2 rebalance steps.

regards,
   Hans Lambermont
-- 
Hans Lambermont | Senior Architect
(t) +31407370104 (w) www.shapeways.com



More information about the Gluster-users mailing list