<!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.6001.18226" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@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>Hello</FONT></DIV>
<DIV><FONT color=#000080> </FONT></DIV>
<DIV><FONT color=#000080> When i start a virtual machine,which
image was stored in Glusterfs , i met a problem
like this :</FONT></DIV>
<DIV><FONT color=#000080> </FONT></DIV>
<DIV><FONT color=#000080>
<DIV><FONT
color=#ff0000>009-04-22 13:26:58 W [afr.c:609:afr_open] afr1: returning EIO, file has to be manually corrected in backend</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 W [stripe.c:1869:stripe_open_cbk] bricks: afr1 returned error Input/output error</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 E [fuse-bridge.c:662:fuse_fd_cbk] glusterfs-fuse: 50149: OPEN() /rhel5-210/disk0 => -1 (Input/output error)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 W [afr.c:609:afr_open] afr1: returning EIO, file has to be manually corrected in backend</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 W [stripe.c:1869:stripe_open_cbk] bricks: afr1 returned error Input/output error</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 E [fuse-bridge.c:662:fuse_fd_cbk] glusterfs-fuse: 50150: OPEN() /rhel5-210/disk0 => -1 (Input/output error)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 W [afr.c:609:afr_open] afr1: returning EIO, file has to be manually corrected in backend</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 W [stripe.c:1869:stripe_open_cbk] bricks: afr1 returned error Input/output error</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:26:58 E [fuse-bridge.c:662:fuse_fd_cbk] glusterfs-fuse: 50151: OPEN() /rhel5-210/disk0 => -1 (Input/output error)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:03 E [afr-self-heal-data.c:778:afr_sh_data_fix] afr1: Unable to resolve conflicting data of /rhel5-210/disk0. Pleas</FONT></DIV>
<DIV><FONT
color=#ff0000>e resolve manually by deleting the file /rhel5-210/disk0 from all but the preferred subvolume. Please consider 'option favorite-chil</FONT></DIV>
<DIV><FONT color=#ff0000>d <>'</FONT></DIV>
<DIV> </DIV>
<DIV> so i delete the films in one side of afr mode , the log
was :</DIV></FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-common.c:871:sh_missing_entries_lookup_cbk] afr1: path /rhel5-210/disk0 on subvolume client4 =></FONT></DIV>
<DIV><FONT
color=#ff0000> -1 (No such file or directory)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-common.c:871:sh_missing_entries_lookup_cbk] afr3: path /rhel5-210/disk0 on subvolume client6 =></FONT></DIV>
<DIV><FONT
color=#ff0000> -1 (No such file or directory)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-common.c:871:sh_missing_entries_lookup_cbk] afr2: path /rhel5-210/disk0 on subvolume client5 =></FONT></DIV>
<DIV><FONT
color=#ff0000> -1 (No such file or directory)</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-data.c:615:afr_sh_data_open_cbk] afr1: sourcing file /rhel5-210/disk0 from client1 to other sin</FONT></DIV>
<DIV><FONT color=#ff0000>ks</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-data.c:615:afr_sh_data_open_cbk] afr3: sourcing file /rhel5-210/disk0 from client3 to other sin</FONT></DIV>
<DIV><FONT color=#ff0000>ks</FONT></DIV>
<DIV><FONT
color=#ff0000>2009-04-22 13:30:56 W [afr-self-heal-data.c:615:afr_sh_data_open_cbk] afr2: sourcing file /rhel5-210/disk0 from client2 to other sin</FONT></DIV>
<DIV><FONT color=#ff0000>ks</FONT></DIV></FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2> </FONT></DIV>
<DIV><FONT color=#000080> At last i found the
delete side , file was larger than other side
,like that was 3.1G and this is 8.0G
which was whole image size .</FONT></DIV>
<DIV><FONT color=#000080> Why the data was not the same
with afr ?</FONT></DIV>
<DIV><FONT color=#000080> </FONT></DIV>
<DIV><FONT color=#000080> My configure is this :</FONT></DIV>
<DIV><FONT color=#000080>
<DIV>volume client1 ##### </DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.184 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client2 #####</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.78 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client3 ##### </DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.190 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client4 ##### </DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.153 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client5 ##### </DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.93.13 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client6 ##### </DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.209 # IP address of the remote brick</DIV>
<DIV> option remote-port 6997</DIV>
<DIV> option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume afr1 ##### </DIV>
<DIV> type cluster/afr</DIV>
<DIV> subvolumes client1 client4</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume afr2 ##### </DIV>
<DIV> type cluster/afr</DIV>
<DIV> subvolumes client2 client5</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume afr3 #####</DIV>
<DIV> type cluster/afr</DIV>
<DIV> subvolumes client3 client6</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume bricks #####</DIV>
<DIV> type cluster/stripe</DIV>
<DIV> option block-size 256MB</DIV>
<DIV> subvolumes afr1 afr2 afr3 </DIV>
<DIV>end-volume</DIV></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-04-22 </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></BODY></HTML>