<div dir="ltr">Are <br>you using xfs for your bricks? I had those timeouts too but mounting xfs bricks with allocsize=64k helped.<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/8 Alexandre DERUMIER <span dir="ltr"><<a href="mailto:aderumier@odiso.com" target="_blank">aderumier@odiso.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>Even after a total reboot of the server, the same lock/timeout occurred for both new VM creation and restore.<br>
<br>
I'll do test with qemu 1.4 tomorrow to see if I can reproduce.<br>
<br>
what is your glusterfs setup ? (hardware , raid , replication level)<br>
<div class="im"><br>
<br>
----- Mail original -----<br>
<br>
De: "Ferrara" <<a href="mailto:aixsyd@gmail.com">aixsyd@gmail.com</a>><br>
À: "Alexandre DERUMIER" <<a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a>><br>
</div>Cc: "pve-devel" <<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a>><br>
Envoyé: Mercredi 8 Janvier 2014 03:58:05<br>
Objet: Re: gluster patch<br>
<br>
<br>
Both.<br>
<br>
<br>
Even after a total reboot of the server, the same lock/timeout occurred for both new VM creation and restore.<br>
<br>
<br>
Sam<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Tue, Jan 7, 2014 at 9:56 PM, Alexandre DERUMIER < <a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a> > wrote:<br>
<br>
<br>
<br>
>>I think I may have found a solution. Its shockingly simple. Theres a line that reads:<br>
>>push @$cmd, '-o', 'preallocation=metadata' if $fmt eq 'qcow2';<br>
<br>
Sure,<br>
<br>
but I would like to get it working with preallocation=metadatas ;) (performance is better)<br>
<br>
I have done test, on my test cluster (3 servers with simple raid1 with baterry cache),<br>
it take around 10s to create a 500GB qcow2 file with preallocate metadatas.<br>
<br>
it take 0,5s to create 500qcow2 without preallocate.<br>
<br>
(But I have tested with qemu 1.7)<br>
<br>
<br>
Do you have problem only on backup restore ? or also when you create a new disk ?<br>
<br>
<br>
----- Mail original -----<br>
<br>
De: "Ferrara" < <a href="mailto:aixsyd@gmail.com">aixsyd@gmail.com</a> ><br>
À: "Alexandre DERUMIER" < <a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a> ><br>
Envoyé: Mercredi 8 Janvier 2014 03:51:39<br>
Objet: Re: gluster patch<br>
<br>
<br>
<br>
I think I may have found a solution. Its shockingly simple. Theres a line that reads:<br>
<br>
<br>
push @$cmd, '-o', 'preallocation=metadata' if $fmt eq 'qcow2';<br>
<br>
<br>
<br>
I changed it to:<br>
<br>
<br>
# push @$cmd, '-o', 'preallocation=metadata' if $fmt eq 'qcow2';<br>
<br>
<br>
<br>
And it seems to have worked for VM creation. the qcow2 image it made is 194KB. I'm going to try to boot/install to it. I'll letcha know what I find.<br>
<br>
<br>
Sam<br>
<br>
<br>
<br>
On Tue, Jan 7, 2014 at 9:27 PM, Ferrara < <a href="mailto:aixsyd@gmail.com">aixsyd@gmail.com</a> > wrote:<br>
<br>
<br>
<br>
<br>
Not sure what I did, but I tried it again, and it seems to be doing the same thing - lock timeout, aborting. It didnt throw the previous error.<br>
<br>
<br>
<br>
Sam<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Jan 7, 2014 at 9:23 PM, Ferrara < <a href="mailto:aixsyd@gmail.com">aixsyd@gmail.com</a> > wrote:<br>
<br>
<blockquote><br>
<br>
<br>
Restoring from a snapshot warrants the following:<br>
<br>
<br>
Parameter verification failed. (400)<br>
<br>
storage : invalid format - storage ID '' contains illegal characters<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Jan 7, 2014 at 9:10 PM, Alexandre DERUMIER < <a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a> > wrote:<br>
<br>
<blockquote><br>
<br>
Hi,<br>
<br>
Here the glusterplugin with patch include.<br>
<br>
just replace /usr/share/perl5/PVE/Storage/GlusterfsPlugin.pm<br>
<br>
and restart<br>
<br>
/etc/init.d/pvedaemon restart<br>
/etc/init.d/pveproxy restart<br>
/etc/init.d/pvestatd restart<br>
<br>
<br>
<br>
(The plugin create the volume with qemu-img gluster:// , instead using fuse mount point.<br>
<br>
So, this apply also on backup restore, when the file is created.<br>
<br>
Tell me if it's works better for you.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote><br>
<br>
</blockquote><br>
_______________________________________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br>
</div></div></blockquote></div><br></div>