[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM startup takes too long



Hi!

Maybe you have too much device inodes to check but otherwise
uninteresting? In this case it is not proportional to the
amount of your storage.

The solution to this is either filter what you scan, or if you
can, you can try to either rm unnecessary files from /dev,
or tell your *scan programs to look at a different directory,
and polupate it only with the needed devices. At the worst
case you can do it by editing the path in the source and recompile.

A levelezőm azt hiszi, hogy Dan Bar Dov a következőeket írta:
> When I start up our system, I have a startup script that runs pvscan, vgscan
> and lvscan, and parses their output.
> 
> This takes too long - with a small SAN - 1x6 disks FC jbod + 2 FC RAID
> controllers, it takes roughly 45 seconds with pvscan and vgscan about 23
> seconds each.
> 
> Its pretty obvious that with more storage it will take longer.
> 
> Any ideas how can I speed it up? 
> (can I run vgscan/pvscan in parallel ?, can I get all the data I need from a
> single scan ?)
> 
> Thanks
> Dan
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

-- 
GNU GPL: csak tiszta forrásból



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]