[linux-lvm] LVM Performance issues when creating many Volume groups
syed1.mushtaq at gmail.com
Fri Apr 1 17:30:19 UTC 2016
In my setup I am trying to map a backend ISCSI storage volume to a volume
group. I am using that volume group as a Disk for VMs in Xen. However, If I
create many volume groups, future volume group creates are slowing down. In
my test I have about 600 VGs. Each VG has a single LV. Here are the
commands that are taking a lot of time
create volume group ( 4.8s ): /usr/sbin/vgcreate
list lvs inside volume group ( 2.4s ): /usr/sbin/lvs --noheadings --units b
-o +lv_tags /dev/VG_XenStorage-1fe15110-61f6-856f-8ae2-8e42e45a4316
check if LVM volume group exisits (2.5s) : /usr/sbin/vgs
I am using LVM 2.0.88. Is this a known issue? Any workarounds?
Thanks for you help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-lvm