<div dir="ltr"><div><div><div>Hi!, <br><br></div>I've been migrating my Ovirt storage from iscsi to Gluster.<font size="2"> What I've been doing is moving the disks with the VM powered off.<br><br></font></div><font size="2">This procedure was fine until I tried to migrate a 100GB disk from a VM with an Oracle DB. During this migration the access to Gluster slowed down, affecting the whole cluster (VDSM timeout in oVirt Engine, VM's entered in unknown state, gluster client disconnected from a brick)<br><br></font></div><font size="2">What I found in gluster servers was a XFS error:<br></font><div><div><font size="2"><br>XFS: possible memory allocation deadlock in kmem_alloc (mode:0x250)<br><br></font></div><div><font size="2">And this error is due to the number of extents of the file (~ 8M):<br></font></div><div><font size="2"><br></font><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="2">gluster01:/gluster/ovirt1_brick_01/brick/89c4e113-1003-4b4e-850e-e7fc5bf2edc6/images/e5b7fc46-4168-4019-a13a-f9b7093d0534# xfs_bmap f9cd555d-fd98-499f-a853-d0ce76eecd37 | wc -l</font><br><font size="2">8627613</font><br></blockquote><font size="2"><br></font></div><div><font size="2">I'm using Gluster 3.6.2 and Centos 7 (3.10.0-229.1.2.el7.x86_64 kernel).<br><br></font></div><div><font size="2">Does anyone know why is qemu-img generating this so fragmented file?<br></font></div><div><font size="2"><br></font></div><div><font size="2">Regards.<br></font></div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">----------------------------------------------------------------<br> Adrián Santos Marrero<br> Técnico de Sistemas - Área de Infraestructuras TIC<br> Servicios de Tecnologías de la Información y Comunicación (STIC)<br> Universidad de La Laguna (ULL) <br> Teléfono/Phone: +34 922 845089<br>---------------------------------------------------------------- <br><br>Este mensaje puede contener información confidencial y/o privilegiada.<br>Si usted no es el destinatario o lo ha recibido por error debe borrarlo<br>inmediatamente.<br>Está estrictamente prohibido por la legislación vigente realizar<br>cualquier copia, revelación o distribución del contenido de este mensaje<br>sin autorización expresa. <br><br>This e-mail may contain confidential and/or privileged information.<br>If you are not the intended recipient or have received this e-mail in<br>error you must destroy it.<br>Any unauthorised copying, disclosure or distribution of the material in<br>this e-mail is strictly forbidden by current legislation.<br></div></div>
</div></div></div></div></div>