[linux-lvm] Why does every lvm command insist on touching every pv?

Phillip Susi psusi at cfl.rr.com
Tue Jun 15 20:24:11 UTC 2010


On 6/15/2010 3:17 PM, Takahiro Yasui wrote:
> Everytime lvm command is executed, all PVs are accessed.
> 
> This is a known issue and what we should fix. If there are a lot of
> PVs, execution of lvm command could take a long time. The scan also
> affects error recovery time of lvm mirror.
> 
> This is an old reference.
> 
> Introduce metadata cache feature
> https://www.redhat.com/archives/lvm-devel/2009-April/msg00014.html

This seems to limit the number of metadata copies on pvs that are
accessed to one, but I am seeing even block devices that are not pvs
accessed, like it is scanning for new pvs.  This patch seems like it
would help some though, but it is over a year old.  Did it never get
applied?




More information about the linux-lvm mailing list