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 - [email protected] :: 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




_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to