<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 12/01/2011 11:33 PM, anthony garnier wrote:
<blockquote cite="mid:BAY159-W1356860C952E1AB0A0F6C5AEB10@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
So if I understand well, a value different than
0sAAAAAAAAAAAAAAAA for the attribute
trusted.afr.poolsave-client-0 indicate split brain.<br>
<br>
Thx<br>
<br>
<div>> Date: Thu, 1 Dec 2011 11:23:29 -0500<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:jdarcy@redhat.com">jdarcy@redhat.com</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:sokar6012@hotmail.com">sokar6012@hotmail.com</a><br>
> CC: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
> Subject: Re: [Gluster-users] Detecting split brain<br>
> <br>
> On Thu, 1 Dec 2011 16:00:09 +0000<br>
> anthony garnier <a class="moz-txt-link-rfc2396E" href="mailto:sokar6012@hotmail.com"><sokar6012@hotmail.com></a> wrote:<br>
> <br>
> > <br>
> > Hi,<br>
> > <br>
> > I got a lot of files with attributes :
0sAAAAAAAAAAAAAAAAA<br>
> > <br>
> > Serv 1 :<br>
> > # file: tbo_rmr_globale_log_11-04-07_15h43m48s.log<br>
> > trusted.afr.poolsave-client-0=0sAAAAAAAAAAAAAAAA<br>
> > trusted.afr.poolsave-client-1=0sAAAAAAAAAAAAAAAA<br>
> > trusted.gfid=0sfm7CRROuQ4+wuQfmHjFCdg==<br>
> > <br>
> > Serv 2 :<br>
> > # file: tbo_rmr_globale_log_11-04-07_15h43m48s.log<br>
> > trusted.afr.poolsave-client-0=0sAAAAAAAAAAAAAAAA<br>
> > trusted.afr.poolsave-client-1=0sAAAAAAAAAAAAAAAA<br>
> > trusted.gfid=0sfm7CRROuQ4+wuQfmHjFCdg==<br>
> > <br>
> > Does it mean that those files need Self-Healing ? I
use GlusterFS<br>
> > 3.2.3<br>
> <br>
> This is actually normal. For some reason that would
probably make me<br>
> throw up if I knew it, getfattr misreports
0x000000000000000000000000<br>
> as 0sAAAAAAAAAAAAAAAA (which would be
0x404040404040404040404040) if<br>
> you don't give it the "-e hex" flag. The value is
actually three<br>
> four-byte integers, and if they're zero it means there
are no pending<br>
> operations. Any *other* value is likely to indicate split
brain.<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
Small Correction:<br>
Different value than 0sAAA.. means there are pending operations.<br>
If you dump the values with -e hex option and there should be 24
digits, first 8 represent pending operations on the data of the
files (write/truncate). next 8 represent pending operations on
metadata (permissions, ownership etc) next 8 represent pending
operations on entry (creation/deletion/rename of a file inside that
directory). Now if both data/metadata/entry digits are non-zero on a
file then that will be split-brain.<br>
Example:<br>
Data split-brain:<br>
trusted.afr.poolsave-client-0=0s000000010000000000000000<br>
trusted.afr.poolsave-client-1=0s000000200000000000000000<br>
<br>
Thanks<br>
Pranith<br>
</body>
</html>