[libvirt-users] libvirt slow responding after define poool with existing VG with some other lv

Anton Gorlov stalker at altlinux.ru
Mon Apr 16 07:20:40 UTC 2012


If I add  VG with some other lv-s to  libvirt pool   then libvirt slow 
responding. How to fix it?


<pool type='logical'>
   <name>LVM_MAIN</name>
   <uuid>a2713bed-ad4a-fb79-83b5-65a9e8f1094e</uuid>
   <capacity>0</capacity>
   <allocation>0</allocation>
   <available>0</available>
   <source>
     <name>LVM_MAIN</name>
     <format type='unknown'/>
   </source>
   <target>
     <path>/dev/LVM_MAIN</path>
     <permissions>
       <mode>0700</mode>
       <owner>-1</owner>
       <group>-1</group>
     </permissions>
   </target>
</pool>

  vgdisplay
File descriptor 7 (pipe:[37858]) leaked on vgdisplay invocation. Parent 
PID 12554: bash
   --- Volume group ---
   VG Name               LVM_MAIN
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  9
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                4
   Open LV               1
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               1.82 TiB
   PE Size               4.00 MiB
   Total PE              476931
   Alloc PE / Size       139520 / 545.00 GiB
   Free  PE / Size       337411 / 1.29 TiB
   VG UUID               ymYQtb-Xjnd-OBNv-xnUQ-w9gi-5uxm-kjzo

not created  libvirt

/dev/LVM_MAIN/os_mirror
   VG Name                LVM_MAIN
   LV UUID                iPfekp-PN1C-rPHP-Bo3K-TljL-cffi-NdDvpi
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                500.00 GiB
   Current LE             128000
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:0


created by libvirt-install

   --- Logical volume ---
   LV Name                /dev/LVM_MAIN/debian6.0-1.img
   VG Name                LVM_MAIN
   LV UUID                23ncRV-yimL-2OTZ-K4ck-YKNo-s6x6-Bjh3cl
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                15.00 GiB
   Current LE             3840
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:1

   --- Logical volume ---
   LV Name                /dev/LVM_MAIN/debian6.0-bacula.img
   VG Name                LVM_MAIN
   LV UUID                BFANbb-fFpC-k0wZ-ue5e-Y6bF-Rnbg-tmelt0
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                15.00 GiB
   Current LE             3840
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:2

   --- Logical volume ---
   LV Name                /dev/LVM_MAIN/debian6.0-bacula-1.img
   VG Name                LVM_MAIN
   LV UUID                nTOAaH-3B50-QtQ7-Xf9k-9Q0H-mftQ-p0zdO6
   LV Write Access        read/write
   LV Status              available
   # open                 0
   LV Size                15.00 GiB
   Current LE             3840
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:3




More information about the libvirt-users mailing list