<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'><font face="Verdana" size="2">Hi Dietmar, this works fine, thanks !</font><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">also last version of lvm seem to cache correctly,time goes from 60sec to 1-2seconds with around 300luns-2path, so 600 devices.</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">#time lvs</div><div><div><font face="Verdana" size="2">  VG         #PV #LV #SN Attr   VSize   VFree </font></div><div><font face="Verdana" size="2">  VolGroup     1   2   0 wz--n-   4.51g     0 </font></div><div><font face="Verdana" size="2">  lvmgroup1    1   1   0 wz--n-  30.00g 20.00g</font></div><div><span style="font-family: Verdana; font-size: small; ">  pve          1   3   0 wz--n- 271.75g  4.00g</span></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div></div><div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">real    0m1.270s</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">user    0m0.110s</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">sys     0m0.340s</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><div><div><font face="Verdana" size="2">root@kvmtest3:/dev# time vgs</font></div><div><font face="Verdana" size="2">  VG         #PV #LV #SN Attr   VSize   VFree </font></div><div><font face="Verdana" size="2">  VolGroup     1   2   0 wz--n-   4.51g     0 </font></div><div><font face="Verdana" size="2">  lvmgroup1    1   1   0 wz--n-  30.00g 20.00g</font></div><div><span style="font-family: Verdana; font-size: small; ">  pve          1   3   0 wz--n- 271.75g  4.00g</span></div><div><font face="Verdana" size="2"><br></font></div><div><font face="Verdana" size="2">real    0m2.106s</font></div><div><font face="Verdana" size="2">user    0m0.128s</font></div></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><br></div><br><hr id="zwchr" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>De: </b>"Dietmar Maurer" <dietmar@proxmox.com><br><b>À: </b>"Alexandre DERUMIER" <aderumier@odiso.com><br><b>Cc: </b>pve-devel@pve.proxmox.com<br><b>Envoyé: </b>Lundi 23 Avril 2012 07:02:57<br><b>Objet: </b>RE: [pve-devel] lvm cache file missing ?<br><br>Just uploaded a patch - please can you test if that helps:<br><br>https://git.proxmox.com/?p=pve-storage.git;a=blobdiff;f=PVE/Storage.pm;h=cd74a3ade79cd039fc93b0b9e17820f0d4a95976;hp=c78bac6c06963de1210e05527d446385b8f4e467;hb=5c009b733ebfd4c8f1b9c989435850e7bf4e07a5;hpb=75d75990b4a32c1e058413631fa17e8fb524b5ff<br><br>- Dietmar<br><br>> -----Original Message-----<br>> From: pve-devel-bounces@pve.proxmox.com [mailto:pve-devel-<br>> bounces@pve.proxmox.com] On Behalf Of Dietmar Maurer<br>> Sent: Montag, 23. April 2012 05:46<br>> To: Alexandre DERUMIER<br>> Cc: pve-devel@pve.proxmox.com<br>> Subject: Re: [pve-devel] lvm cache file missing ?<br>> <br>> > with the flag to 0, yes, i have the .cache file.<br>> ><br>> > but in cache file, I have all devices existing in /dev/ and not only<br>> > devices with lvm volumes...<br>> ><br>> > I had attached the cache file to this email.<br>> <br>> Yes. What is the question?<br>> <br>> - Dietmar<br>> _______________________________________________<br>> pve-devel mailing list<br>> pve-devel@pve.proxmox.com<br>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel<br><br><br></div><br><br><br><font face="Verdana" size="2">-- </font><br><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><span name="x"></span><p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; background-color: rgb(255, 255, 255); font-size: 11pt; font-family: Calibri, sans-serif; "><br></p><div style="font-family: 'Andale Mono'; font-size: 16px; background-color: rgb(255, 255, 255); "><table style="font-family: 'Times New Roman'; "><tbody><tr><td><img src="http://www.odiso.com/library/img/signature/logosignatureorange2.png" src="http://www.odiso.com/library/img/signature/logosignatureorange2.png"></td><td width="100%" style="background-color: rgb(244, 229, 223); "><table><tbody><tr><td height="50px"><b><font color="#EA7242" face="Calibri" style="font-size: 20px; ">Alexandre</font> D<font color="#424242" face="Calibri" style="font-size: 20px; ">erumier</font></b><br><b><font color="#636466" face="Calibri"><font size="2">Ingénieur Système</font></font></b></td></tr><tr><td height="16px"><b><font color="#424242" face="Calibri" style="font-size: 13px; ">Fixe : </font></b><font color="#636466" face="Calibri" style="font-size: 13px; ">03 20 68 88 90</font></td></tr><tr><td height="16px"><b><font color="#424242" face="Calibri" style="font-size: 13px; ">Fax : </font></b><font color="#636466" face="Calibri" style="font-size: 13px; ">03 20 68 90 81</font></td></tr><tr><td height="15px"><font color="#808080" face="Calibri" style="font-size: 12px; ">45 Bvd du Général Leclerc 59100 Roubaix - France</font></td></tr><tr><td height="15px"><font color="#808080" face="Calibri" style="font-size: 12px; ">12 rue Marivaux 75002 Paris - France</font></td></tr></tbody></table></td></tr><tr><td></td><td></td></tr></tbody></table></div><span name="x"></span><br></div></div></div></body></html>