<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 02/20/2014 02:43 PM, William Kwan
wrote:<br>
</div>
<blockquote
cite="mid:1392936192.25186.YahooMailNeo@web140402.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:10pt">Hi
all,<br>
<br>
Running <span style="font-weight: bold;">glusterfs-3.4.2-1.el6.x86_6
</span><span>on centos6.5<br>
<br>
Due to some smart people screw up my network connection on the
nodes for don't know how long. I found that I have my
GlusterFS volume in split-brain. I googled and found
different way to clean this. I need some extra help on this.<br>
<br>
# gluster volume heal kvm1 info split-brain<br>
Gathering Heal info on volume kvm1 has been successful<br>
<br>
Brick mgmt1:/gluster/brick1<br>
Number of entries: 21<br>
at path on brick<br>
-----------------------------------<br>
2014-02-20 22:33:41
/d058a735-0fca-430a-a3d7-cf0a77097e5d/images/714c56a8-db1d-42d5-bf76-869bd6c87eef/0ea0a280-4c2c-48ab-ad95-8cb48e6cf02b<br>
2014-02-20 22:33:41
/d058a735-0fca-430a-a3d7-cf0a77097e5d/images/20b728b6-dd39-4d2e-a5c0-2dee22df6e95/a6a9b083-b04c-4ac8-86cb-ed4eb697c2c3<br>
2014-02-20 22:33:41
/d058a735-0fca-430a-a3d7-cf0a77097e5d/dom_md/ids<br>
... <truncated><br>
<br>
Brick mgmt2:/gluster/brick1<br>
Number of entries: 28<br>
at path on brick<br>
-----------------------------------<br>
2014-02-20 22:37:38
/d058a735-0fca-430a-a3d7-cf0a77097e5d/dom_md/ids<br>
2014-02-20 22:37:38
/d058a735-0fca-430a-a3d7-cf0a77097e5d/images/714c56a8-db1d-42d5-bf76-869bd6c87eef/0ea0a280-4c2c-48ab-ad95-8cb48e6cf02b<br>
2014-02-20 22:37:38
/d058a735-0fca-430a-a3d7-cf0a77097e5d/images/20b728b6-dd39-4d2e-a5c0-2dee22df6e95/a6a9b083-b04c-4ac8-86cb-ed4eb697c2c3<br>
2014-02-20 22:27:38
/d058a735-0fca-430a-a3d7-cf0a77097e5d/dom_md/ids<br>
2014-02-20 22:27:38 /d058a735-0fca-430a-a3d7-cf0<br>
... <truncated><br>
<br>
<br>
1. what's the best way? <br>
</span></div>
</blockquote>
Here's the write-up I did about split-brain:
<a class="moz-txt-link-freetext" href="http://joejulian.name/blog/fixing-split-brain-with-glusterfs-33/">http://joejulian.name/blog/fixing-split-brain-with-glusterfs-33/</a><br>
<blockquote
cite="mid:1392936192.25186.YahooMailNeo@web140402.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:10pt"><span><br>
2.gluster volume heal doesnt' really save this, right?<br>
</span></div>
</blockquote>
No, the nature of split-brain is such that there is no automated way
to recover from it.<br>
<blockquote
cite="mid:1392936192.25186.YahooMailNeo@web140402.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:10pt"><span><br>
3. kind of shooting from the dark as I can't see the data
content. The volume is holding VM images. Picking the latest
copies should be good?<br>
</span></div>
</blockquote>
That does seem a reasonably safe assumption, especially if your vm's
are <a
href="http://etherealmind.com/cattle-vs-kittens-on-cloud-platforms-no-one-hears-the-kittens-dying/">cattle
instead of kittens</a>.<br>
<br>
</body>
</html>