[pve-devel] lvm cache file missing ?

Alexandre DERUMIER aderumier at odiso.com
Tue Apr 24 14:07:26 CEST 2012


Hi Dietmar, this works fine, thanks ! 




also last version of lvm seem to cache correctly,time goes from 60sec to 1-2seconds with around 300luns-2path, so 600 devices. 




#time lvs 

VG #PV #LV #SN Attr VSize VFree 
VolGroup 1 2 0 wz--n- 4.51g 0 
lvmgroup1 1 1 0 wz--n- 30.00g 20.00g 
pve 1 3 0 wz--n- 271.75g 4.00g 



real 0m1.270s 
user 0m0.110s 
sys 0m0.340s 





root at kvmtest3:/dev# time vgs 
VG #PV #LV #SN Attr VSize VFree 
VolGroup 1 2 0 wz--n- 4.51g 0 
lvmgroup1 1 1 0 wz--n- 30.00g 20.00g 
pve 1 3 0 wz--n- 271.75g 4.00g 


real 0m2.106s 
user 0m0.128s 


----- Mail original -----

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 23 Avril 2012 07:02:57 
Objet: RE: [pve-devel] lvm cache file missing ? 

Just uploaded a patch - please can you test if that helps: 

https://git.proxmox.com/?p=pve-storage.git;a=blobdiff;f=PVE/Storage.pm;h=cd74a3ade79cd039fc93b0b9e17820f0d4a95976;hp=c78bac6c06963de1210e05527d446385b8f4e467;hb=5c009b733ebfd4c8f1b9c989435850e7bf4e07a5;hpb=75d75990b4a32c1e058413631fa17e8fb524b5ff 

- Dietmar 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Dietmar Maurer 
> Sent: Montag, 23. April 2012 05:46 
> To: Alexandre DERUMIER 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] lvm cache file missing ? 
> 
> > with the flag to 0, yes, i have the .cache file. 
> > 
> > but in cache file, I have all devices existing in /dev/ and not only 
> > devices with lvm volumes... 
> > 
> > I had attached the cache file to this email. 
> 
> Yes. What is the question? 
> 
> - Dietmar 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20120424/92676509/attachment.htm>


More information about the pve-devel mailing list