[pve-devel] lvm cache file missing ?
Alexandre DERUMIER
aderumier at odiso.com
Sun Apr 22 14:45:59 CEST 2012
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.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Dimanche 22 Avril 2012 13:35:07
Objet: RE: [pve-devel] lvm cache file missing ?
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
>
--
--
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 --------------
A non-text attachment was scrubbed...
Name: cachefile
Type: application/octet-stream
Size: 282853 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20120422/05d79732/attachment.obj>
More information about the pve-devel
mailing list