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

"LV using PV is not redundant" warning message for 100%FREE raid0|0_meta creation

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • None
    • No
    • None
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

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

      This message/failure was the fix for raid1|10 volumes when attempting to create volumes using 100%FREE on top of varying sized PVs. This was the fix for these two bugs:
      https://issues.redhat.com/browse/RHEL-8377
      https://issues.redhat.com/browse/RHEL-8334

      When testing this fix, it was tried on raid4,5,6 to ensure those still worked due to them not requiring mirror redundancy. However, this was just recently tried using raid0 and raid0_meta, which should behave just like the other striped raid types, but they don't.

      kernel-5.14.0-529.el9    BUILT: Thu Nov 14 03:54:27 PM CET 2024
      lvm2-2.03.28-3.el9    BUILT: Thu Nov 14 09:27:11 AM CET 2024
      lvm2-libs-2.03.28-3.el9    BUILT: Thu Nov 14 09:27:11 AM CET 2024
       
      [root@virt-504 ~]# pvscan
        PV /dev/sde    VG raid_sanity     lvm2 [1020.00 MiB / 1020.00 MiB free]
        PV /dev/sdc    VG raid_sanity     lvm2 [496.00 MiB / 496.00 MiB free]
        PV /dev/sdf    VG raid_sanity     lvm2 [1020.00 MiB / 1020.00 MiB free]
        PV /dev/sdb    VG raid_sanity     lvm2 [496.00 MiB / 496.00 MiB free]
        PV /dev/sdd    VG raid_sanity     lvm2 [1020.00 MiB / 1020.00 MiB free]
        PV /dev/sda    VG raid_sanity     lvm2 [496.00 MiB / 496.00 MiB free]
      [root@virt-504 ~]# vgs
        VG            #PV #LV #SN Attr   VSize  VFree
        raid_sanity     6   0   0 wz--n-  4.44g 4.44g
       
      [root@virt-504 ~]# lvcreate --yes  --type raid0_meta -i 2 -n 100_percent -l100%FREE raid_sanity
        Using default stripesize 64.00 KiB.
        Rounding size (1137 extents) down to stripe boundary size (1136 extents)
        LV raid_sanity/100_percent_rimage_1 using PV /dev/sdd is not redundant.
        Insufficient suitable allocatable extents for logical volume raid_sanity/100_percent
       
      [root@virt-504 ~]# lvcreate --yes  --type raid0 -i 2 -n 100_percent -l100%FREE raid_sanity
        Using default stripesize 64.00 KiB.
        Rounding size (1137 extents) down to stripe boundary size (1136 extents)
        LV raid_sanity/100_percent_rimage_1 using PV /dev/sdd is not redundant.
        Insufficient suitable allocatable extents for logical volume raid_sanity/100_percent
       
      [root@virt-504 ~]# lvcreate --yes  --type raid4 -i 2 -n 100_percent -l100%FREE raid_sanity
        Using default stripesize 64.00 KiB.
        Rounding size (1137 extents) down to stripe boundary size (1136 extents)
        Logical volume "100_percent" created.
      [root@virt-504 ~]# lvremove  -f raid_sanity/100_percent
        Logical volume "100_percent" successfully removed.
       
      [root@virt-504 ~]# lvcreate --yes  --type raid5 -i 2 -n 100_percent -l100%FREE raid_sanity
        Using default stripesize 64.00 KiB.
        Rounding size (1137 extents) down to stripe boundary size (1136 extents)
        Logical volume "100_percent" created.
      [root@virt-504 ~]# lvremove  -f raid_sanity/100_percent
        Logical volume "100_percent" successfully removed.
       
      [root@virt-504 ~]# lvcreate --yes  --type raid6 -i 3 -n 100_percent -l100%FREE raid_sanity
        Using default stripesize 64.00 KiB.
        Wiping gfs2 signature on /dev/raid_sanity/100_percent.
        Logical volume "100_percent" created.
      [root@virt-504 ~]# lvremove  -f raid_sanity/100_percent
        Logical volume "100_percent" successfully removed.
      

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

                Created:
                Updated: