[Gluster-users] Instructions for converting a distributed volume to a distributed-replicated?

Washer, Bryan bwasher at netsuite.com
Tue Nov 6 18:07:24 UTC 2012


<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: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Kushnir, Michael (NIH/NLM/LHC) [C]
Sent: Tuesday, November 06, 2012 11:45 AM
To: 'gluster-users at gluster.org'
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:joe at julianfamily.org]
Sent: Tuesday, November 06, 2012 12:23 PM
To: 'gluster-users at gluster.org'
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: michael.kushnir at nih.gov<mailto:michael.kushnir at nih.gov>

[cid:image001.jpg at 01CDBC17.485E9440]




_______________________________________________

Gluster-users mailing list

Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>

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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121106/04ee1a38/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8449 bytes
Desc: image001.jpg
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121106/04ee1a38/attachment.jpg>


More information about the Gluster-users mailing list