[linux-lvm] lvm pvscan or vgscan very slow

Alasdair G Kergon agk at redhat.com
Fri Feb 13 18:33:16 UTC 2004

On Fri, Feb 13, 2004 at 03:28:19PM -0800, Ling Li wrote:
> I guess the number of devices to be scanned is just too large (and my 
> computer is also a very slow one). Is there some way to specify a 
> narrower range of devices to be scanned in LVM2?
The filter lines in lvm.conf.  See doc/example.conf and man lvm.conf.

> > We've a couple of speed-ups that might help (one uses sysfs to reduce
> > the number of devices to scan) - they're in the queue of things waiting
> > to be checked into CVS after the repository move.
> > I'll try to get them imported tomorrow.
> This kind of patch will definitely help!
Both changes are in CVS now.

Info on how to get code out of CVS:
BUT replace the 'cvs -d :pserver:' lines with those shown on:

agk at redhat.com

More information about the linux-lvm mailing list