<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
I am top posting here because it is becoming very difficult to work out the message thread below.<BR>
<BR>
I would say that trying to change the way a tool works because you want to use the tool incorrectly is not the best approach.<BR>
<BR>
If you want to use a gluster volume to make a backup of a file, and that you want that backup to be on a different server (which is sensible), you should make sure that the original file is not on the same machine as one of the bricks.<BR>
<BR>
Either that, or set up your gluster volume to have replicas.<BR>
<BR>
Cheers,<BR>
Kingsley.<BR>
<BR>
On Wed, 2015-02-04 at 15:44 +0800, yang.bin18@zte.com.cn wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
    
<HR NOSHADE>
<BR>
    <BR>
    <BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;example: brick A ,brick B,brick C compose one volume</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;When client(fuse) in brick A write data into volume,for some reason ,we want the data &nbsp;wrote into brick B or brick C.</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <FONT COLOR="#000000">&lt;&lt;&lt;&lt;&lt;&lt;&lt;When a write is performed from a fuse mount, the response will not come until the write happens on A, B, C. Order of the bricks does not matter.</FONT><BR>
    <FONT COLOR="#000000">&nbsp; &nbsp; </FONT><BR>
    <FONT COLOR="#000000">Pranith </FONT><BR>
    <BR>
    <FONT COLOR="#000000">&lt;&lt;&lt;&lt;&lt;&lt;If the &nbsp;volume is configured to has only one replica or the volume is a DHT one? </FONT><BR>
    <FONT COLOR="#000000">&lt;&lt;&lt;&lt;&lt;Then the bricks are not in replication. Do you want to change the position of the bricks? </FONT><BR>
    <FONT COLOR="#000000">&nbsp; &nbsp; &nbsp; Pranith</FONT><BR>
    <FONT COLOR="#000000">&nbsp; &nbsp; </FONT><BR>
    <FONT COLOR="#000000">&lt;&lt;&lt;&lt;For simplification,let`s suppose it being a DHT volume with three bricks,there is no replica.</FONT><FONT COLOR="#000000"><FONT SIZE="2">When client(fuse) in brick A write data into volume,for some reason ,we want the data &nbsp;wrote into brick B or brick C.</FONT></FONT><BR>
    <FONT COLOR="#000000">&lt;&lt;&lt;If it is DHT volume, then the data of the files will be residing either in brick A, B, or C based on the hash of the filename and layout of the directory not on all of the bricks A, B, C. Only the directories are created on all the bricks A, B, C.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Pranith </FONT><BR>
    <FONT COLOR="#000000">&lt;&lt;For &nbsp;safty thinking ,we &nbsp;want the data will be directed to any brick except brick A. </FONT><BR>
    <FONT COLOR="#000000">&nbsp; &nbsp; &nbsp; &lt;It depends on the hash the filename generates. It may very well end up on brick-A. What is the usecase you want to address?</FONT><BR>
    <FONT COLOR="#000000">Pranith </FONT><BR>
    <FONT COLOR="#000000">&nbsp; &nbsp; &nbsp; &nbsp;We have some data in one disk of node (brick A),and want to put the backup of the data into glusterfs. </FONT><BR>
    <BR>
    <BR>
    <FONT SIZE="1"><FONT COLOR="#5f5f5f">&#21457;&#20214;&#20154;: &nbsp; &nbsp; &nbsp; &nbsp; </FONT></FONT><FONT SIZE="1"><FONT COLOR="#000000">Pranith Kumar Karampuri </FONT></FONT><U><FONT SIZE="1"><FONT COLOR="#0000ff"><A HREF="mailto:pkarampu@redhat.com">&lt;pkarampu@redhat.com&gt;</A></FONT></FONT></U><BR>
    <FONT SIZE="1"><FONT COLOR="#5f5f5f">&#25910;&#20214;&#20154;: &nbsp; &nbsp; &nbsp; &nbsp; </FONT></FONT><U><FONT SIZE="1"><FONT COLOR="#0000ff"><A HREF="mailto:yang.bin18@zte.com.cn">yang.bin18@zte.com.cn</A></FONT></FONT></U><FONT SIZE="1"><FONT COLOR="#000000">,</FONT></FONT><U><FONT SIZE="1"><FONT COLOR="#0000ff"><A HREF="mailto:gluster-users@gluster.org">gluster-users@gluster.org</A></FONT></FONT></U><FONT SIZE="1"><FONT COLOR="#000000">,</FONT></FONT><BR>
    <FONT SIZE="1"><FONT COLOR="#5f5f5f">&#26085;&#26399;: &nbsp; &nbsp; &nbsp; &nbsp; </FONT></FONT><FONT SIZE="1"><FONT COLOR="#000000">2015/01/28 16:40</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <FONT SIZE="1"><FONT COLOR="#5f5f5f">&#20027;&#39064;: &nbsp; &nbsp; &nbsp; &nbsp;</FONT></FONT><FONT SIZE="1"><FONT COLOR="#000000">Re: [Gluster-users] replica position</FONT></FONT><BR>
    
<HR NOSHADE>
<BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <FONT COLOR="#000000">On 01/27/2015 02:43 PM, </FONT><U><FONT COLOR="#0000ff"><A HREF="mailto:yang.bin18@zte.com.cn">yang.bin18@zte.com.cn</A></FONT></U><FONT COLOR="#000000">wrote: </FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Hi,</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Can the replica position be configured ?</FONT></FONT><BR>
    <FONT COLOR="#000000">Could you give an example?</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Pranith </FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Regards.</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Bin.Yang</FONT></FONT><FONT COLOR="#000000"> </FONT><BR>
    <TABLE>
<TR>
<TD>
<BR>
</TD>
<TD>
<BR>
</TD>
</TR>
</TABLE>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#0000ff">--------------------------------------------------------</FONT></TT><BR>
    <TT><FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). &nbsp;If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. &nbsp;If you have received this mail in error, please delete it and notify us immediately.</FONT></TT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#000000">_______________________________________________</FONT></TT><BR>
    <TT><FONT COLOR="#000000">Gluster-users mailing list</FONT></TT><BR>
    <U><TT><FONT COLOR="#0000ff"><A HREF="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</A></FONT></TT></U><BR>
    <U><TT><FONT COLOR="#0000ff"><A HREF="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</A></FONT></TT></U><BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#0000ff">--------------------------------------------------------</FONT></TT><BR>
    <TT><FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). &nbsp;If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. &nbsp;If you have received this mail in error, please delete it and notify us immediately.</FONT></TT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#0000ff">--------------------------------------------------------</FONT></TT><BR>
    <TT><FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). &nbsp;If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. &nbsp;If you have received this mail in error, please delete it and notify us immediately.</FONT></TT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#0000ff">--------------------------------------------------------</FONT></TT><BR>
    <TT><FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). &nbsp;If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. &nbsp;If you have received this mail in error, please delete it and notify us immediately.</FONT></TT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <TT><FONT COLOR="#0000ff">--------------------------------------------------------</FONT></TT><BR>
    <TT><FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). &nbsp;If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. &nbsp;If you have received this mail in error, please delete it and notify us immediately.</FONT></TT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
<PRE>

<FONT COLOR="#0000ff">--------------------------------------------------------</FONT>
<FONT COLOR="#0000ff">ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.</FONT>

</PRE>
    <BR>
<PRE>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Gluster-users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>