Atin Mukherjee
2016-May-14 03:05 UTC
[Gluster-users] replace brick with brick names the same
-Atin Sent from one plus one On 14-May-2016 4:45 AM, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> wrote:> > I'd like to replace a brick on a replica 3 setup (3.7.11 ). And for easeof admin and scripting reasons I'd like it to have the same location/name. Would the following work? IIRC, as of now it won't work. However this is on our plate and Anuradha had done some work on this, not sure whether the patch is yet available or not for review. @Anuradha - could you shed some light on this?> > 1. Down vng.proxmox.softlog:/tank/vmdata/data > > 2. Erase /tank/vmdata/data > > 3. recreate /tank/vmdata/data > > 4. volume replace-brick datastore4 vng.proxmox.softlog:/tank/vmdata/datavng.proxmox.softlog:/tank/vmdata/data commit> > > > > -- > Lindsay Mathieson > > > _______________________________________________ > 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/20160514/f1ac9036/attachment.html>
Lindsay Mathieson
2016-May-14 03:44 UTC
[Gluster-users] replace brick with brick names the same
On 14/05/2016 1:05 PM, Atin Mukherjee wrote:> IIRC, as of now it won't work. However this is on our plate and > Anuradha had done some work on this, not sure whether the patch is yet > available or not for review.Ok, thanks Atin. How about removing the brick (dropping down to rep 3), then re-adding it? -- Lindsay Mathieson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160514/0c6ad0db/attachment.html>
Anuradha Talur
2016-May-16 06:03 UTC
[Gluster-users] replace brick with brick names the same
Response inline. ----- Original Message -----> From: "Atin Mukherjee" <atin.mukherjee83 at gmail.com> > To: "Lindsay Mathieson" <lindsay.mathieson at gmail.com> > Cc: "gluster-users" <Gluster-users at gluster.org>, "Anuradha Talur" <atalur at redhat.com> > Sent: Saturday, May 14, 2016 8:35:38 AM > Subject: Re: [Gluster-users] replace brick with brick names the same > > -Atin > Sent from one plus one > On 14-May-2016 4:45 AM, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> > wrote: > > > > I'd like to replace a brick on a replica 3 setup (3.7.11 ). And for ease > of admin and scripting reasons I'd like it to have the same location/name. > Would the following work? > > IIRC, as of now it won't work. However this is on our plate and Anuradha > had done some work on this, not sure whether the patch is yet available or > not for review. > > @Anuradha - could you shed some light on this?Like Atin said this will not work as of now. A patch was up for review but new requirements were added to it. I need to rework on it and put it up again.> > > > 1. Down vng.proxmox.softlog:/tank/vmdata/data > > > > 2. Erase /tank/vmdata/data > > > > 3. recreate /tank/vmdata/data > > > > 4. volume replace-brick datastore4 vng.proxmox.softlog:/tank/vmdata/data > vng.proxmox.softlog:/tank/vmdata/data commit > > > > > > > > > > -- > > Lindsay Mathieson > > > > > > _______________________________________________ > > Gluster-users mailing list > > Gluster-users at gluster.org > > http://www.gluster.org/mailman/listinfo/gluster-users >-- Thanks, Anuradha.