<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/10/2016 04:37 PM, Angelos
SAKELLAROPOULOS wrote:<br>
</div>
<blockquote
cite="mid:CAGA68UVgFG1tv5M2BnBqhA1BzXoqNNTY4CrYBgDPmmZXi9PSJw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
I use Glusterfs (branch v.3.6.9). I would like to ask you what
does "gluster volume heal VOLUME" command show ?<br>
</div>
</blockquote>
This launches index heal.<br>
<br>
<blockquote
cite="mid:CAGA68UVgFG1tv5M2BnBqhA1BzXoqNNTY4CrYBgDPmmZXi9PSJw@mail.gmail.com"
type="cite">
<div dir="ltr">I use GlusterFs as shared storage and check the
output of "gluster volume heal VOLUME info" and "gluster volume
heal VOLUME info split-brain" commands. I would like to ask you
what is the difference between above two commands in </div>
</blockquote>
The first lists all files that need heal (including split-brain
ones) while the second one only lists ones in split-brain.<br>
<br>
<blockquote
cite="mid:CAGA68UVgFG1tv5M2BnBqhA1BzXoqNNTY4CrYBgDPmmZXi9PSJw@mail.gmail.com"
type="cite">
<div dir="ltr">glusterfs version 3.6.9 ? Moreover, I get the
following output when executing above commands in my system:<br>
</div>
</blockquote>
info split-brain has been re implemented in 3.7.x to make it more
accurate. (<a class="moz-txt-link-freetext" href="http://review.gluster.org/9459">http://review.gluster.org/9459</a>)<br>
<blockquote
cite="mid:CAGA68UVgFG1tv5M2BnBqhA1BzXoqNNTY4CrYBgDPmmZXi9PSJw@mail.gmail.com"
type="cite">
<div dir="ltr">#gluster volume heal test_volume info<br>
Brick server1:/mnt/bricks/test_volume/brick<br>
Status: Transport endpoint is not connected<br>
</div>
</blockquote>
<br>
You need to see why you're getting ENOTCONN here. Is the brick up?
Check glfsheal-<volname>.log on the bricks. If both bricks are
up, even "gluster volume heal VOLUME info" should print the file
that is in split-brain.<br>
<br>
-Ravi<br>
<blockquote
cite="mid:CAGA68UVgFG1tv5M2BnBqhA1BzXoqNNTY4CrYBgDPmmZXi9PSJw@mail.gmail.com"
type="cite">
<div dir="ltr">Brick server2:/mnt/bricks/test_volume/brick<br>
/aDirectory/aFile<br>
then I try to check output of gluster volume heal info
split-brain command:<br>
#gluster volume heal test_volume split-brain<br>
Gathering list of split brain entries on volume services has
been successful<br>
Brick server1:/mnt/bricks/test_volume/brick<br>
Number of entries:0<br>
Brick server2:/mnt/bricks/test_volume/brick<br>
Number of entries:0<br>
I also hexdump file
/ment/bricks/test_volume/brick/aDirectory/aFile and receive
input/output error and I wonder why "gluster volume heal VOLUME
info split-brain" does not show
/mnt/bricks/test_volume/brick/aDirectory/aFile in split brain
mode ? <br>
<br>
Thanks,<br>
Angelos<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>