how to shrink a volume?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ah, i just noticed i tested this on gluster 3.2 not 3.3. also in the
changelog to 3.3 it says that remove-brick now migrates data to
remaining bricks.

thanks,
anselm


On 09.11.2012 15:30, Shylesh Kumar wrote:
> 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


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux