<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE>@font-face {
        font-family: &#23435;&#20307;;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @&#23435;&#20307;;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>&nbsp; Hello :</FONT></DIV>
<DIV><FONT color=#000080>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have some&nbsp; 
question of </FONT><FONT color=#000000>Replicate ,when i use tow servers and one 
client&nbsp; , the <SPAN class=trans><FONT color=#0547c0>configuration 
files</FONT></SPAN> &nbsp;are these :</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; GFS server 1 and 2 </DIV>
<DIV>glusterfsd.vol </DIV>
<DIV>=======================================================</DIV>
<DIV>volume posix1<BR>&nbsp; type 
storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# POSIX FS translator<BR>&nbsp; option directory 
/data1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Export this 
directory<BR>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>volume&nbsp;posix2</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;POSIX&nbsp;FS&nbsp;translator</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;directory&nbsp;/data2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Export&nbsp;this&nbsp;directory</DIV>
<DIV>end-volume</DIV>###&nbsp;Add&nbsp;POSIX&nbsp;record&nbsp;locking&nbsp;support&nbsp;to&nbsp;the&nbsp;storage&nbsp;brick<BR>volume 
brick1<BR>&nbsp; type features/posix-locks<BR>&nbsp; #option mandatory-locks 
on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # enables mandatory 
locking on all files<BR>&nbsp; subvolumes posix1<BR>end-volume</DIV>
<DIV>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>volume&nbsp;brick2</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;features/posix-locks</DIV>
<DIV>&nbsp;&nbsp;#option&nbsp;mandatory-locks&nbsp;on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;enables&nbsp;mandatory&nbsp;locking&nbsp;on&nbsp;all&nbsp;files</DIV>
<DIV>&nbsp;&nbsp;subvolumes&nbsp;posix2</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>volume ns<BR>&nbsp; type 
storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# POSIX FS translator<BR>&nbsp; option directory /export&nbsp;&nbsp;&nbsp; # 
Export this directory<BR>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV>volume name<BR>&nbsp; type features/posix-locks<BR>&nbsp; #option 
mandatory-locks on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
enables mandatory locking on all files<BR>&nbsp; subvolumes 
ns<BR>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV></DIV>
<DIV>###&nbsp;Add&nbsp;network&nbsp;serving&nbsp;capability&nbsp;to&nbsp;above&nbsp;brick.</DIV>
<DIV>volume&nbsp;server</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;protocol/server</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;For&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;subvolumes&nbsp;&nbsp;&nbsp; brick1 brick2&nbsp;name</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;auth.addr.brick1.allow&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;access&nbsp;to&nbsp;"brick"&nbsp;volume</DIV>
<DIV>&nbsp; 
option&nbsp;auth.addr.brick2.allow&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;access&nbsp;to&nbsp;"brick"&nbsp;volume</DIV>
<DIV>&nbsp; 
option&nbsp;auth.addr.name.allow&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;access&nbsp;to&nbsp;"brick"&nbsp;volume</DIV>
<DIV>end-volume</DIV></DIV>
<DIV>=================================================================</DIV>
<DIV>GFS client </DIV>
<DIV>
<DIV>volume&nbsp;client1</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;brick1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>###&nbsp;Add&nbsp;client&nbsp;feature&nbsp;and&nbsp;attach&nbsp;to&nbsp;remote&nbsp;subvolume&nbsp;of&nbsp;server2</DIV>
<DIV>volume&nbsp;client2</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;brick2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>volume&nbsp;client3</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;brick1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume&nbsp;client4</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;brick2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume&nbsp;&nbsp;ns1&nbsp;</DIV>
<DIV>&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume&nbsp;&nbsp;ns2&nbsp;</DIV>
<DIV>&nbsp;type&nbsp;protocol/client</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;transport-type&nbsp;tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;TCP/IP&nbsp;transport</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-host&nbsp;172.20.92.250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;IP&nbsp;address&nbsp;of&nbsp;the&nbsp;remote&nbsp;brick</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;remote-subvolume&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;name&nbsp;of&nbsp;the&nbsp;remote&nbsp;volume</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>##&nbsp;Add&nbsp;replicate&nbsp;feature.</DIV>
<DIV>volume&nbsp;rep1</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;cluster/replicate</DIV>
<DIV>&nbsp;&nbsp;subvolumes&nbsp;client1&nbsp;client3</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>volume&nbsp;rep2</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;cluster/replicate</DIV>
<DIV>&nbsp;&nbsp;subvolumes&nbsp;client2&nbsp;client4&nbsp;</DIV>
<DIV>end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>volume&nbsp;rep-ns</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;cluster/replicate</DIV>
<DIV>&nbsp;end-volume</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>volume&nbsp;bricks</DIV>
<DIV>&nbsp;&nbsp;type&nbsp;cluster/unify</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;namespace&nbsp;rep-ns&nbsp;#&nbsp;this&nbsp;will&nbsp;not&nbsp;be&nbsp;storage&nbsp;child&nbsp;of&nbsp;unify.</DIV>
<DIV>&nbsp;&nbsp;subvolumes&nbsp;rep1&nbsp;rep2</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;self-heal&nbsp;background&nbsp;#&nbsp;foreground&nbsp;off&nbsp;#&nbsp;default&nbsp;is&nbsp;foreground</DIV>
<DIV>&nbsp;&nbsp;option&nbsp;scheduler&nbsp;rr</DIV>
<DIV>end-volume</DIV>
<DIV>========================================================================</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;glusterfs&nbsp;&nbsp;-f&nbsp;/etc/glusterfs/glusterfs.vol&nbsp; 
/data&nbsp; &nbsp;</DIV></DIV>
<DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#000080>After mount ,I&nbsp; touch 11 22 33 44 four files 
into&nbsp;&nbsp;/data&nbsp; ,for the Replicate,four files are both exist&nbsp;in 
92.249 and 92.250</FONT></DIV>
<DIV><FONT color=#000080>On GFS client&nbsp;&nbsp;I&nbsp;echo "aaaaaaaaaaaaaaa" 
&gt; 11 ,then&nbsp;&nbsp;on 92.249 </FONT>&nbsp;i rm -fr /data1/11 , just like 
the file was lost. So&nbsp; on client I couldn't read 11 correct, I&nbsp; " ll 
-h ",the file is appear again&nbsp; in 92.249,but have not the right "<FONT 
color=#000080>aaaaaaaaaaaaaaa",it was like "@@@@@@@@@@@" messy code ! If i copy 
11 from 92.250 to 92.249, on GFS client&nbsp; I read the right file 
"aaaaaaaaaaaaaaa" . Was that my configuring wrong ?&nbsp; why the file not renew 
accurate?</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-03-04 </FONT></DIV><FONT 
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>eagleeyes</SPAN> 
</FONT></DIV>
<DIV><FONT face=Verdana size=2>&nbsp;</DIV></FONT></BODY></HTML>