[Gluster-users] Expanding replicated volume

Mathieu Chateau mathieu.chateau at lotp.fr
Mon Sep 7 05:48:04 UTC 2015


in replicated setup, all bricks have all data. So you need to grow all
bricks, or do a distributed + replicated volume

I would stay with 2 bricks and extend current volume or add another volume
to the current brick

No need to change fstab. It will try first server1 and server2 as a backup
if first is offline. Then gluster client get all nodes from the one it's
connected too.
So even if you have 50 bricks, no change in fstab.


2015-09-07 2:58 GMT+02:00 Antun Krasic <antun at martuna.co>:

> Hello,
> I have two servers with replica 2 setup, with total of 380GB of disk space
> ( gluster volume create datastore replica 2 transport tcp
> server1:/datastore server2:/datastore).
> I'd need to add more capacity to the servers, I know I need to add 2 more
> servers to the configuration, however do they need to be with the same disk
> size ? Meaning, if I add a 2 VMs with 20GB bricks, that would expand the
> volume by 20GB ?
> Second part is mounting, I'm curious if anything would change in the
> current fstab entry:
> server1:/datastore /mnt/datastore glusterfs
> default,_netdev,backupvolfile-server=server2 0 0
> Gluster would properly utilize all 4 servers in this case, or fstab entry
> needs to be modified ?
> Thank you!
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150907/9898178d/attachment.html>

More information about the Gluster-users mailing list