You are correct. Needs to be changed. Will edit it in the next few days. ----- Original Message ----- > From: "Gandalf Corvotempesta" <gandalf.corvotempesta@xxxxxxxxx> > To: "Anuradha Talur" <atalur@xxxxxxxxxx> > Cc: "gluster-users" <Gluster-users@xxxxxxxxxxx> > Sent: Thursday, August 11, 2016 7:58:40 PM > Subject: Re: Clarification on common tasks > > 2016-08-11 16:25 GMT+02:00 Anuradha Talur <atalur@xxxxxxxxxx>: > > The replace-brick you did, mentioned in the previous mails was correct and > > fine. > > You said you have different names for old and new brick, so it works. > > setfattr is *not* required in this case. > > > > In the above case that you have quoted, I'm talking when brick names have > > to be the same (if you have that > > requirement). There were 2 setfattrs that were needed. Anyway, sorry about > > the confusion. > > As brick names are different, it doesn't affect your testcase. > > Anyway, the suggested docs page is wrong. It has many bad commands, in > example: > > "gluster volume heal info failed" > > this doesn't exist. The right command should be > "gluster volume <volume> heal info heal-failed > > Also, the replace-brick in a replicated volumes, makes use of > "setfattr" and also ask for a directory creation/removal (step 4): > > mkdir /mnt/r2/<name-of-nonexistent-dir> > rmdir /mnt/r2/<name-of-nonexistent-dir> > setfattr -n trusted.non-existent-key -v abc /mnt/r2 > setfattr -x trusted.non-existent-key /mnt/r2 > > i didn't this and seems to work fine. > > I think that this doc page should be rewrote, there is much confusion > and unneeded steps. > -- Thanks, Anuradha. _______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users