<html><body>Joe can offer more information but I would delete the existing 
volume...which will leave the data....

Then recreate the volume as a distribute-replica by doing...

Gluster volume create gluster-ssd-vol replica 2 transport tcp 1A 1B 2A 2B 3A 3B 
4A 4B 5A 5B 6A 6B 7A 7B 8A 8B

The order in which you add the brick determines the replica sets...

This will use the brick from the previous volume and mirror it with a new 
brick....then run a self heal and they will sync...

Bryan

From: [email protected] 
[mailto:[email protected]] On Behalf Of Kushnir, Michael 
(NIH/NLM/LHC) [C]
Sent: Tuesday, November 06, 2012 11:45 AM
To: '[email protected]'
Subject: Re: [Gluster-users] Instructions for converting a distributed volume 
to a distributed-replicated?

Thanks for getting back to me guys.

I don't have an existing volume yet. This is a planned deployment. At first I 
will have one server with 8 bricks forming a distributed volume.

So, on server 1, I will have volume "gluster-ssd-vol" with bricks: 1A, 2A, 3A, 
4A, 5A, 6A, 7A, 8A.

Then (a week later) I will add server two and would like to convert to a 
distributed-replicated volume by adding  bricks: 1B, 2B, 3B, 4B, 5B, 6B, 7B, 8B.

So would "gluster volume add-brick gluster-ssd-vol replica 2 <1B> <2B> <3B> 
<4B> <5B> <6B> <7B> <8B>" result in a distributed-replicated volume with 
replica sets 1AB, 2AB, 3AB, etc...?

Thanks,
Michael



From: Joe Julian [mailto:[email protected]]
Sent: Tuesday, November 06, 2012 12:23 PM
To: '[email protected]'
Subject: Re: [Gluster-users] Instructions for converting a distributed volume 
to a distributed-replicated?

The text isn't 100% clear, I agree, but it is safe to infer from this what you 
would naturally infer:

# gluster volume add-brick

Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ...
meaning you can add-brick, specify the new replica (or stripe) count and list 
enough bricks to make the change possible and it will do just that.
On 11/05/2012 10:30 AM, Kushnir, Michael (NIH/NLM/LHC) [C] wrote:
Hi everyone,

Where can I find instructions for converting a distributed volume to a 
distributed replicated volume?

Thanks,
Michael

______________________________________________________________________________________
Michael Kushnir
System Architect / Engineer
Communications Engineering Branch
Lister Hill National Center for Biomedical Communications
National Library of Medicine

8600 Rockville Pike, Building 38A, Floor 10
Besthesda, MD 20894

Phone: 301-435-3219
Email: [email protected]<mailto:[email protected]>

[cid:[email protected]]




_______________________________________________

Gluster-users mailing list

[email protected]<mailto:[email protected]>

http://supercolony.gluster.org/mailman/listinfo/gluster-users


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

</body></html>

<<inline: image001.jpg>>

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

Reply via email to