Pranith Kumar Karampuri
2016-Jul-12 10:34 UTC
[Gluster-users] Expand distributed replicated volume
On Tue, Jul 12, 2016 at 3:57 PM, Gandalf Corvotempesta < gandalf.corvotempesta at gmail.com> wrote:> 2016-07-12 11:49 GMT+02:00 Pranith Kumar Karampuri <pkarampu at redhat.com>: > > Alternatively you can replace 4 selected bricks on the first 3 nodes with > > the 4 disks on the new machine. Now you have 4 bricks that can be reused. > > Form extra 2 replica sets with 3 bricks each and you are done. > > This is unclear to me. > Are you saying to create a new replica set with the newly added bricks > or with the older replaced bricks ? >If you add 6 new disks to the cluster by bringing in a new node with replica count 3 you are essentially are adding 2 replica sets. Since you can't have replica sets with bricks from same node, we need to get empty bricks from other nodes which require replace-brick operation.> > This is not what I want. I would like to *add* bricks and increase > spaces to the same volume/replica set. >We essentially did add-bricks at the end :-). -- Pranith -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160712/825d0bf4/attachment.html>
Gandalf Corvotempesta
2016-Jul-12 10:36 UTC
[Gluster-users] Expand distributed replicated volume
2016-07-12 12:34 GMT+02:00 Pranith Kumar Karampuri <pkarampu at redhat.com>:> If you add 6 new disks to the cluster by bringing in a new node with replica > count 3 you are essentially are adding 2 replica sets. Since you can't have > replica sets with bricks from same node, we need to get empty bricks from > other nodes which require replace-brick operation.If I replace existing bricks, i'm not adding free space but only move data around.