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

Attempting to extend a striped raid type, but only specifying one of the images will core dump

    • lvm2-2.03.28-2.el9
    • None
    • Moderate
    • Hide
      b5249fa3c20fe5d9e1d4811e7e5bfd957b15a820
      1d8a4c4817895f45a5fee00ccf721b351e5a4668
      44a04b71f8e8ff730b5538c4b6323041cf904ece
      Show
      b5249fa3c20fe5d9e1d4811e7e5bfd957b15a820 1d8a4c4817895f45a5fee00ccf721b351e5a4668 44a04b71f8e8ff730b5538c4b6323041cf904ece
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • 13
    • 15
    • 2
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      This fails in rhel8.8 as well, so I'm not sure this ever worked.

      [root@virt-506 ~]# lvcreate --type raid0 -i 2 -L 200M -n stripe1 myvg
      Using default stripesize 64.00 KiB.
      Logical volume "stripe1" created.

      [root@virt-506 ~]# lvs -a -o +devices
      LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
      stripe1 myvg rwi-a-r--- 200.00m stripe1_rimage_0(0),stripe1_rimage_1(0)
      [stripe1_rimage_0] myvg iwi-aor--- 100.00m /dev/sda(0)
      [stripe1_rimage_1] myvg iwi-aor--- 100.00m /dev/sdb(0)

      [root@virt-506 ~]# lvextend myvg/stripe1 -L 542G
      Using stripesize of last segment 64.00 KiB
      Insufficient free space: 138702 extents needed, but only 76745 available

      [root@virt-506 ~]# lvextend -i1 -l+100%FREE myvg/stripe1
      Segmentation fault (core dumped)

      Apr 24 17:17:01 virt-506 kernel: traps: lvextend[993422] general protection fault ip:5654ba5ccfaf sp:7ffee0f26a60 error:0 in lvm[5654ba506000+192000]

      Version-Release number of selected component (if applicable):
      kernel-5.14.0-283.el9 BUILT: Fri Feb 24 12:35:52 AM CET 2023
      lvm2-2.03.20-2.el9 BUILT: Thu Apr 6 01:40:29 PM CEST 2023
      lvm2-libs-2.03.20-2.el9 BUILT: Thu Apr 6 01:40:29 PM CEST 2023

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

                Created:
                Updated: