[linux-lvm] lvm pvscan or vgscan very slow

Alasdair G Kergon agk at redhat.com
Thu Feb 12 19:07:01 UTC 2004


On Thu, Feb 12, 2004 at 03:33:57PM -0800, Ling Li wrote:
> I am using Fedora 1 with some packages updated from the fedora 
> development in order to use kernel 2.6 and LVM2. The operation `lvm 
> pvscan' and `lvm vgscan' are very slow, taking about 20-30 min. Is this 
> normal, or is this because there is no /etc/lvm.conf file?
 
It shouldn't be that slow!

Look at your system log and/or run with -vvv to see why it's so slow.

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.
 
Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list