[pve-devel] lvm cache file missing ?

Dietmar Maurer dietmar at proxmox.com
Sun Apr 22 13:35:07 CEST 2012


But udev also handle such list, so I guess that should be also fast.

If you set that flag to 0, you will get the old .cache file?

> -----Original Message-----
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com]
> Sent: Samstag, 21. April 2012 17:20
> To: Dietmar Maurer
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] lvm cache file missing ?
> 
> thanks, you are right.
> 
> But it doesn't solve my problem :(
> the cache file contain a list of all devices in /dev/.
> I thinked it's was a cache of current lvm volumes....
> 
> ----- Mail original -----
> 
> De: "Dietmar Maurer" <dietmar at proxmox.com>
> À: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-
> devel at pve.proxmox.com
> Envoyé: Samedi 21 Avril 2012 16:39:30
> Objet: RE: [pve-devel] lvm cache file missing ?
> 
> There is a flag:
> 
> obtain_device_list_from_udev = 1
> 
> The file /etc/lvm/lvm.conf contains short docu.
> 
> - Dietmar Maurer
> 
> > -----Original Message-----
> > From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> > bounces at pve.proxmox.com] On Behalf Of Alexandre DERUMIER
> > Sent: Samstag, 21. April 2012 15:35
> > To: pve-devel at pve.proxmox.com
> > Subject: [pve-devel] lvm cache file missing ?
> >
> > Hi,
> >
> > normally lvm have a cache of this volumes,
> >
> > in /etc/lvm.conf
> >
> > cache_dir = "/run/lvm"
> >
> >
> > but they is not .cache file inside this directory.
> >
> > I try with also with vgscan, but the file is not build.
> >
> http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/vgsc
> > an.html
> >
> > So, with all my luns, it rescan all the luns again and again when vm
> stop/start.
> >
> >
> > Do you have an idea why there is no cache file ?
> > _______________________________________________
> > 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
> 



More information about the pve-devel mailing list