Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-24870

lvextend leaks memory when extend raid volumes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.4
    • None
    • None
    • None
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      kernel-5.14.0-417.el9    BUILT: Thu Feb  1 05:57:30 PM EST 2024
      lvm2-2.03.23-2.el9    BUILT: Fri Feb  2 07:10:34 PM EST 2024
      lvm2-libs-2.03.23-2.el9    BUILT: Fri Feb  2 07:10:34 PM EST 2024
      sanlock-3.9.1-1.el9    BUILT: Mon Jan 22 04:12:36 PM EST 2024
      sanlock-lib-3.9.1-1.el9    BUILT: Mon Jan 22 04:12:36 PM EST 2024
      
      
      VOLUME REDUCTION from 165 to 105 on megatest-29
      
      wait for nosync'ed mirrors...
      Waiting until all mirror|raid volumes become fully syncd...
         1/1 mirror(s) are fully synced: ( 100.00% )
      Sleeping 15 sec
      VOLUME EXTENSION to -l+100%FREE of VG on megatest-29
      lvextend -l+100%FREE /dev/raid6_5_4526/raid6_5_45260
        LV raid6_5_4526/raid6_5_45260_rimage_3 using PV /dev/sdb2 is not redundant.
        Insufficient suitable allocatable extents for logical volume raid6_5_4526/raid6_5_45260
        Internal error: Removing still active LV raid6_5_4526/raid6_5_45260_rmeta_0.
        You have a memory leak (not released memory pool):
         [0x55656000e120] allocation
        Internal error: Unreleased memory pool(s) found.
      lvextend failed
      
      [root@megatest-29 ~]# pvscan
        PV /dev/vda2   VG rhel_megatest-29   lvm2 [<7.00 GiB / 0    free]
        PV /dev/sda2   VG global             lvm2 [14.99 GiB / 14.74 GiB free]
        PV /dev/sda1   VG raid6_5_4526       lvm2 [14.99 GiB / <14.66 GiB free]
        PV /dev/sdb2   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sdb1   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sde2   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sde1   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sdd2   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sdd1   VG raid6_5_4526       lvm2 [14.99 GiB / <14.91 GiB free]
        PV /dev/sdf2   VG raid6_5_4526       lvm2 [14.99 GiB / 14.99 GiB free]
        PV /dev/sdf1   VG raid6_5_4526       lvm2 [14.99 GiB / 14.99 GiB free]
        PV /dev/sdh2   VG raid6_5_4526       lvm2 [14.99 GiB / 14.99 GiB free]
        Total: 12 [171.91 GiB] / in use: 12 [171.91 GiB] / in no VG: 0 [0   ]
      [root@megatest-29 ~]# lvs
        LV            VG               Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
        raid6_5_45260 raid6_5_4526     rwima-r--- 420.00m                                    100.00          
        root          rhel_megatest-29 -wi-ao----  <6.20g                                                    
        swap          rhel_megatest-29 -wi-ao---- 820.00m                                                    
      [root@megatest-29 ~]# vgs
        VG               #PV #LV #SN Attr   VSize   VFree  
        global             1   0   0 wz--ns  14.99g  14.74g
        raid6_5_4526      10   1   0 wz--ns 149.92g 149.07g
        rhel_megatest-29   1   2   0 wz--n-  <7.00g      0 
      [root@megatest-29 ~]# lvextend -l+100%FREE /dev/raid6_5_4526/raid6_5_45260
        Using stripesize of last segment 64.00 KiB
        LV raid6_5_4526/raid6_5_45260_rimage_3 using PV /dev/sdb2 is not redundant.
        Insufficient suitable allocatable extents for logical volume raid6_5_4526/raid6_5_45260
        Internal error: Removing still active LV raid6_5_4526/raid6_5_45260_rmeta_0.
        You have a memory leak (not released memory pool):
         [0x5619d9604c40] allocation
        Internal error: Unreleased memory pool(s) found.
      

            lvm-team lvm-team
            cmarthal@redhat.com Corey Marthaler
            lvm-team lvm-team
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: