[Gluster-users] Volume Types?

Rejy M Cyriac rcyriac at redhat.com
Thu Sep 19 09:54:28 UTC 2013


On 09/19/2013 03:14 PM, Jake G. wrote:
> 
> 
> ------------------------------------------------------------------------
> *From:* Rejy M Cyriac <rcyriac at redhat.com>
> *To:* gluster-users at gluster.org
> *Sent:* Thursday, September 19, 2013 6:30 PM
> *Subject:* Re: [Gluster-users] Volume Types?
> 
> On 09/19/2013 02:55 PM, Jake G. wrote:
>>
>> Does this mean I need 4 host servers (peers) to do this?
>> or
>> Do I could I create 4 bricks within the single distributed volume?
>>
>> I am really confused (X_X)
>>
>>
> 
> You would need 4 bricks of 100GB, 2 on each server, and create a
> distribute-replicate volume, with replica count of 2.
> 
> The command to be run would be of the syntax given below.
> 
> gluster volume create <VOL-NAME> replica 2 server1:/bricks/brick1
> server2:/bricks/brick1 server1:/bricks/brick2 server1:/bricks/brick2
> 
> The order in which the bricks are given in the command is important to
> specify which bricks form replica sets.
> 
> Since the replica count given in the above example is 2,
> server1:/bricks/brick1 - server2:/bricks/brick1 will be a replica set,
> and server1:/bricks/brick2 - server1:/bricks/brick2 will the other
> replica set.
> 
> - rejy (rmc)
> 
>>
>>
>>
>> ------------------------------------------------------------------------
>> *From:* Athanasios Kostopoulos
> <athanasios.kostopoulos at classmarkets.com
> <mailto:athanasios.kostopoulos at classmarkets.com>>
>> *To:* Jake G. <dj_dark_junglist at yahoo.com
> <mailto:dj_dark_junglist at yahoo.com>>
>> *Cc:* "gluster-users at gluster.org <mailto:gluster-users at gluster.org>"
> <gluster-users at gluster.org <mailto:gluster-users at gluster.org>>
>> *Sent:* Thursday, September 19, 2013 6:07 PM
>> *Subject:* Re: [Gluster-users] Volume Types?
>>
>> Hi Jake,
>> glusterFS newbie here so take my email with a big grain of salt.
>> I *think* that in order to have 200Gb available AND replication
>> (assuming a replicating factor of 2) you need 4 bricks of 100Gb, not
>> just 2.
>>
>>
>> On Thu, Sep 19, 2013 at 11:06 AM, Jake G. <dj_dark_junglist at yahoo.com
> <mailto:dj_dark_junglist at yahoo.com>
>> <mailto:dj_dark_junglist at yahoo.com
> <mailto:dj_dark_junglist at yahoo.com>>> wrote:
>>
>>    Hi All,
>>
>>    Wondering if it is possible to create a duplicated and distributed
>>    volume in gluster?
>>
>>    I have two host servers both with 100GB partition for gluster.
>>
>>    After creating the volume I would like there to be 200GB available,
>>    but if serverA dies all the files will be still be present on serverB
>>    Is this even possible? If so can it be done with only two host servers?
>>
>>    Thank you!
>>
>>
>>    _______________________________________________
>>    Gluster-users mailing list
>>    Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
> <mailto:Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>>
>>    http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>
>>
>>
>> classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland
>> Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99
>> | www.classmarkets.com <http://www.classmarkets.com/>
>> Amtsgericht Charlottenburg HRB 111815 B | USt.Id.Nr <http://ust.id.nr/>:
>> DE 260731582
>> Geschäftsführer: Veit Mürz, Fabian Ströhle
>> Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf
>> ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen,
>> kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
>> erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
>> unverzüglich zu informieren und die Nachricht zu löschen. Jede
>> unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es
>> vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass
>> E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen
>> geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per
>> Post oder per Telefax zu übersenden.
>>
>>
>>
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>
> 
> Thank you for your help!
> I would like to confirm the command you gave. Should:
> gluster volume create <VOL-NAME> replica 2
> server1:/bricks/brick1 server2:/bricks/brick1 server1:/bricks/brick2
> server1:/bricks/brick2
> Be:
> gluster volume create <VOL-NAME> replica 2
> server1:/bricks/brick1 server2:/bricks/brick1 server1:/bricks/brick2
> server2:/bricks/brick2
> 

Silly place to get a typo in... :-P

I meant it to be

gluster volume create <VOL-NAME> replica 2 server1:/bricks/brick1
server2:/bricks/brick1 server1:/bricks/brick2 server2:/bricks/brick2

And so,

server1:/bricks/brick1 - server2:/bricks/brick1 will be a replica set,
and server1:/bricks/brick2 - server2:/bricks/brick2 will be the other
replica set

Just using a naming convention that 'brickX' will be part of one replica
set, and existing on separate systems.

- rejy (rmc)

> 
> 
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 




More information about the Gluster-users mailing list