[Gluster-users] how to shrink a volume?
Shylesh Kumar
shmohan at redhat.com
Fri Nov 9 14:30:48 UTC 2012
Anselm Strauss wrote:
> hi,
>
> although there is a related section in the documentation of gluster 3.3,
> i do not see this really working. removing a brick will just remove data
> on a brick which is not what i want. and migrating means replacing the
> brick with a new one which does not result in a shrunken volume.
>
> is there a way to shrink a volume online without loosing any data in the
> means of reducing the number of bricks a volume is distributed over?
try remove-brick start option
$ gluster volume remove-brick volname brick1 start
this will redistribute the data from brick1 to the remaining bricks
once it's completed then commit it.
$ gluster volume remove-brick volname brick1 commit
this removes the brick1 from the volume.
>
> anselm
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list