Lindsay Mathieson
2016-Oct-19 20:49 UTC
[Gluster-users] [URGENT] Add-bricks to a volume corrupted the files
On 20/10/2016 6:39 AM, Kevin Lemonnier wrote:> Did you add a third brick in replication, if I understand it correctly ?Yup, took it from rep 2 to rep 3> That's not the problem I had, that does seem to be working fine. > What broke was adding 3 new bricks to a replica 3, bumping it from 1 x 3 > to a 2 x 3. That doesn't start a heal, at least not until you start a > rebalance, but I didn't even get to that point:(Ok, I'll give that a go - what command do you use? - I think from memory the extra bricks have to be added in blocks of three? My "bricks" are just folders on zfs pools, but that shouldn't make a difference. -- Lindsay Mathieson
Kevin Lemonnier
2016-Oct-19 21:01 UTC
[Gluster-users] [URGENT] Add-bricks to a volume corrupted the files
> > Ok, I'll give that a go > - what command do you use? > - I think from memory the extra bricks have to be added in blocks of three? >Yes, you need to add a full replica set at once. I don't remember, but according to my history, looks like I've used this : gluster volume add-brick VMs host1:/brick host2:/brick host3:/brick force (I have the same without force just before that, so I assume force is needed) -- Kevin Lemonnier PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Digital signature URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161019/a8918e90/attachment.sig>