Hello all. I need to reorganize the bricks (making RAID1 on the backing devices to reduce memory used by Gluster processes) and I have a couple of doubts: - do moved (rebalanced) files get removed from source bricks so at the end I only have the files that received writes? - do bricks being removed continue getting writes for new files? Tks. -- Diego Zuccato DIFA - Dip. di Fisica e Astronomia Servizi Informatici Alma Mater Studiorum - Universit? di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy tel.: +39 051 20 95786
Have you checked?https://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Features/rebalance/ ? I know it's old but it might provide some clarity. The files are removed from the source subvolume to the new subvolume. Removed bricks do not get any writes, as during the preparation - a rebalance is issued which notifies the clients to use the new DHT subvolume. Best Regards,Strahil Nikolov? On Fri, Nov 18, 2022 at 15:52, Diego Zuccato<diego.zuccato at unibo.it> wrote: Hello all. I need to reorganize the bricks (making RAID1 on the backing devices to reduce memory used by Gluster processes) and I have a couple of doubts: - do moved (rebalanced) files get removed from source bricks so at the end I only have the files that received writes?- do bricks being removed continue getting writes for new files? Tks. -- Diego Zuccato DIFA - Dip. di Fisica e Astronomia Servizi Informatici Alma Mater Studiorum - Universit? di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy tel.: +39 051 20 95786 ________ Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users at gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20221120/fa64185e/attachment.html>
Hi Diego, Remove brick command is a two-step operation. When started, those bricks are marked deprecated and no writes are sent to those bricks. Rebalance is started as part of the remove brick process. Once the remove brick is complete (By checking the status), commit the operation. -- Thanks and Regards Aravinda https://kadalu.tech On Fri, Nov 18, 2022 at 7:23 PM Diego Zuccato <diego.zuccato at unibo.it> wrote:> Hello all. > > I need to reorganize the bricks (making RAID1 on the backing devices to > reduce memory used by Gluster processes) and I have a couple of doubts: > - do moved (rebalanced) files get removed from source bricks so at the > end I only have the files that received writes? > - do bricks being removed continue getting writes for new files? > > Tks. > > -- > Diego Zuccato > DIFA - Dip. di Fisica e Astronomia > Servizi Informatici > Alma Mater Studiorum - Universit? di Bologna > V.le Berti-Pichat 6/2 - 40127 Bologna - Italy > tel.: +39 051 20 95786 > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20221128/6c3dd70c/attachment.html>