Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-10-10 Thread James
On Sun, 2013-09-29 at 22:41 -0700, Anand Avati wrote: > I see what you are asking. First of all, when running a 2-replica > volume > you almost pretty much always want to have an even number of servers, > and > add servers in even numbers. Ideally the two "sides" of the replicas > should > be place

Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-10-10 Thread Anand Avati
http://review.gluster.org/#/c/6031/ (patch to remove replace-brick data migration) is slated for merge before 3.5. Review comments (on gerrit) welcome. Thanks, Avati On Thu, Oct 3, 2013 at 9:27 AM, Anand Avati wrote: > On Thu, Oct 3, 2013 at 8:57 AM, KueiHuan Chen wrote: > >> Hi, Avati >> >>

Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-10-03 Thread Anand Avati
On Thu, Oct 3, 2013 at 8:57 AM, KueiHuan Chen wrote: > Hi, Avati > > In your chained configuration, how to replace whole h1 without > replace-brick ? Is there has a better way than replace brick in this > situation ? > > h0:/b1 h1:/b2 h1:/b1 h2:/b2 h2:/b1 h0:/b2 (A new h3 want to replace old >

Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-10-03 Thread KueiHuan Chen
Hi, Avati In your chained configuration, how to replace whole h1 without replace-brick ? Is there has a better way than replace brick in this situation ? h0:/b1 h1:/b2 h1:/b1 h2:/b2 h2:/b1 h0:/b2 (A new h3 want to replace old h1.) Thanks. Best Regards, KueiHuan-Chen Synology Incorporated. E

Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-09-29 Thread Anand Avati
On Fri, Sep 27, 2013 at 1:56 AM, James wrote: > On Fri, 2013-09-27 at 00:35 -0700, Anand Avati wrote: > > Hello all, > Hey, > > Interesting timing for this post... > I've actually started working on automatic brick addition/removal. (I'm > planning to add this to puppet-gluster of course.) I was

Re: [Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-09-27 Thread James
On Fri, 2013-09-27 at 00:35 -0700, Anand Avati wrote: > Hello all, Hey, Interesting timing for this post... I've actually started working on automatic brick addition/removal. (I'm planning to add this to puppet-gluster of course.) I was hoping you could help out with the algorithm. I think it's a

[Gluster-users] Phasing out replace-brick for data migration in favor of remove-brick.

2013-09-27 Thread Anand Avati
Hello all, DHT's remove-brick + rebalance has been enhanced in the last couple of releases to be quite sophisticated. It can handle graceful decommissioning of bricks, including open file descriptors and hard links. This in a way is a feature overlap with replace-brick's data migration functionali