<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div># gluster volume heal VmDir info healed</div><div><br></div><div>Heal operation on volume VmDir has been successful</div><div><br></div><div>Brick one-san-01:/bricks/VmDir01</div><div>Number of entries: 259</div><div>Segmentation fault (core dumped)</div><div><br></div><div>(same story for heal-failed) which seems to be exactly this bug:</div><div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=836421">https://bugzilla.redhat.com/show_bug.cgi?id=836421</a></div><div><br></div><div>Should I upgrade to latest QA RPMs to see what is going on?</div><div><br></div><div>Btw, with split-brain I have no entries:</div><div><br></div><div><div>Heal operation on volume VmDir has been successful</div><div><br></div><div>Brick one-san-01:/bricks/VmDir01</div><div>Number of entries: 0</div><div><br></div><div>Brick one-san-02:/bricks/VmDir02</div><div>Number of entries: 0</div></div><div><br></div><div>Thank you, cheers,</div><div apple-content-edited="true">

--<br>
: Dario Berzano<br>
: CERN PH-SFT &amp; Università di Torino (Italy)<br>
: Wiki: <a href="http://newton.ph.unito.it/~berzano">http://newton.ph.unito.it/~berzano</a><br>
: GPG: <a href="http://newton.ph.unito.it/~berzano/gpg">http://newton.ph.unito.it/~berzano/gpg</a><br>
: Mobiles: +41 766124782 (CH), +39 3487222520 (IT)


</div>
<div><br></div><br><div><div>Il giorno 14/set/2012, alle ore 17:16, Pranith Kumar Karampuri &lt;<a href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;</div><div>&nbsp;ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">hi Dario,<br> &nbsp;&nbsp;&nbsp;Could you post the output of the following commands:<br>gluster volume heal VmDir info healed<br>gluster volume heal VmDir info split-brain<br><br>Also provide the output of 'getfattr -d -m . -e hex' On both the bricks for the two files listed in the output of 'gluster volume heal VmDir info'<br><br>Pranith.<br><br>----- Original Message -----<br>From: "Dario Berzano" &lt;<a href="mailto:dario.berzano@cern.ch">dario.berzano@cern.ch</a>&gt;<br>To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>Sent: Friday, September 14, 2012 6:57:32 PM<br>Subject: [Gluster-users] Virtual machines and self-healing on GlusterFS v3.3<br><br><br><br>Hello, <br><br><br>in our computing centre we have an infrastructure with a GlusterFS volume made of two bricks in replicated mode: <br><br><br><br><br><br>Volume Name: VmDir <br>Type: Replicate <br>Volume ID: 9aab85df-505c-460a-9e5b-381b1bf3c030 <br>Status: Started <br>Number of Bricks: 1 x 2 = 2 <br>Transport-type: tcp <br>Bricks: <br>Brick1: one-san-01:/bricks/VmDir01 <br>Brick2: one-san-02:/bricks/VmDir02 <br><br><br><br><br>We are using this volume to store running images of some KVM virtual machines and thought we could benefit from the replicated storage in order to achieve more robustness as well as the ability to live-migrate VMs. <br><br><br>Our GlusterFS volume VmDir is mounted on several (three at the moment) hypervisors. <br><br><br>However, in many cases (but it is difficult to reproduce: best way is to stress VM I/O), either when one brick becomes unavailable for some reason, or when we perform live migrations, virtual machines decide to remount filesystems from their virtual disks in read-only. At the same time, on the hypervisors mounting the GlusterFS partitions, we spot some kernel messages like: <br><br><br><br><br>INFO: task kvm:13560 blocked for more than 120 seconds. <br><br><br><br><br>By googling it I have found some "workarounds" to mitigate this problem, like mounting disks within virtual machines with barrier=0: <br><br><br><a href="http://invalidlogic.com/2012/04/28/ubuntu-precise-on-xenserver-disk-errors/">http://invalidlogic.com/2012/04/28/ubuntu-precise-on-xenserver-disk-errors/</a> <br><br><br>but I actually fear to damage my virtual machine disks by doing such a thing! <br><br><br>AFAIK from GlusterFS v3.3 self-healing should be performed server-side (and no self-healing at all is performed on the clients and by granularly locking big files). When I connect to my GlusterFS pool, if I monitor the self-healing status continuously: <br><br><br>watch -n1 'gluster volume heal VmDir info' <br><br><br>I obtain an output like: <br><br><br><br><br><br>Heal operation on volume VmDir has been successful <br><br><br>Brick one-san-01:/bricks/VmDir01 <br>Number of entries: 2 <br>/1814/images/disk.0 <br>/1816/images/disk.0 <br><br><br>Brick one-san-02:/bricks/VmDir02 <br>Number of entries: 2 <br>/1816/images/disk.0 <br>/1814/images/disk.0 <br><br><br><br><br>with a list of virtual machine disks healed by GlusterFS. Those and other files continuously appear and disappear from the list. <br><br><br>This is a behavior I don't understand at all: does this mean that those files continuously get corrupted and healed, and self-healing is just a natural part of the replication process?! Or some kind of corruption is actually happening on our virtual disks for some reason? Is this related to the "remount readonly" problem? <br><br><br>A more general question maybe would be: is GlusterFS v3.3 ready for storing running virtual machines (and is there some special configuration option needed on the volumes and clients for that)? <br><br>Thank you in advance for shedding some light... <br><br><br>Regards, <br><br>-- <br>: Dario Berzano <br>: CERN PH-SFT &amp; Università di Torino (Italy) <br>: Wiki: <a href="http://newton.ph.unito.it/~berzano">http://newton.ph.unito.it/~berzano</a> <br>: GPG: <a href="http://newton.ph.unito.it/~berzano/gpg">http://newton.ph.unito.it/~berzano/gpg</a> <br>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>http://gluster.org/cgi-bin/mailman/listinfo/gluster-users<br></blockquote></div><br></body></html>