Reconfiguring volume type

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

 



Hi all.
I have been looking around the web but did not find a satisfying answer.
Is it possible to change a volume type from distributed to distributed+replica with gluster 3.1.2?
An online way at least?

The manpage suggests that I can do:
$ gluster volume add-brick <VOLNAME> [(replica <COUNT>)|(stripe <COUNT>)] <NEW-BRICK> ...

I tried to add additional bricks to an existing distribute-type volume by:
gluster volume add-brick testvol replica 2 <newbrick>

This failed.

I have 3 bricks in a distribute volume and would like to add additional 3 bricks to have it distribute+replicate.


I can do it offline by (something like):
- stop the volume
- delete it
- recreate it with addtional replicate bricks.

I guess i need to take care that the data from the bricks is somehow synched to just one or so...

Last small question: If I "gluster remove-brick" one brick, does its data get migrated to the other bricks? This is the case with "replace-brick".

Thanks for your time and thoughts,
udo.

-- 
:: udo waechter - root at zoide.net :: N 52?16'30.5" E 8?3'10.1"
:: genuine input for your ears: http://auriculabovinari.de 
::                          your eyes: http://ezag.zoide.net
::                          your brain: http://zoide.net






[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