-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
lvm2-2.03.24-2.el9
-
Yes
-
Important
-
rhel-sst-logical-storage
-
ssg_filesystems_storage_and_HA
-
25
-
26
-
2
-
QE ack, Dev ack
-
False
-
-
None
-
None
-
Pass
-
Automated
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
SCENARIO (raid1) - [extend_raid_to_100_percent_vg_diff_sized_pvs_more_than_needed]
Create a raid on a VG and then extend it using -l/-l+100%FREE with PVs being different sizes and more PVs than needed
Recreating PVs/VG with different sized devices and more than enough needed to make raid type volume
grant-03.6a2m.lab.eng.bos.redhat.com: pvcreate --yes --setphysicalvolumesize 500M /dev/sde1 /dev/sdf1 /dev/sda1
grant-03.6a2m.lab.eng.bos.redhat.com: pvcreate --yes --setphysicalvolumesize 1G /dev/sdg1 /dev/nvme1n1p1 /dev/sdb1
grant-03.6a2m.lab.eng.bos.redhat.com: vgcreate raid_sanity /dev/sdg1 /dev/sde1 /dev/nvme1n1p1 /dev/sdf1 /dev/sdb1 /dev/sda1
lvcreate --yes --type raid1 -m 1 -n 100_percent -L 100M raid_sanity
[root@grant-03 ~]# pvscan
PV /dev/sdg1 VG raid_sanity lvm2 [1020.00 MiB / 916.00 MiB free]
PV /dev/sde1 VG raid_sanity lvm2 [496.00 MiB / 392.00 MiB free]
PV /dev/nvme1n1p1 VG raid_sanity lvm2 [1020.00 MiB / 1020.00 MiB free]
PV /dev/sdf1 VG raid_sanity lvm2 [496.00 MiB / 496.00 MiB free]
PV /dev/sdb1 VG raid_sanity lvm2 [1020.00 MiB / 1020.00 MiB free]
PV /dev/sda1 VG raid_sanity lvm2 [496.00 MiB / 496.00 MiB free]
[root@grant-03 ~]# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
100_percent raid_sanity rwi-a-r--- 100.00m 100.00 100_percent_rimage_0(0),100_percent_rimage_1(0)
[100_percent_rimage_0] raid_sanity iwi-aor--- 100.00m /dev/sdg1(1)
[100_percent_rimage_1] raid_sanity iwi-aor--- 100.00m /dev/sde1(1)
[100_percent_rmeta_0] raid_sanity ewi-aor--- 4.00m /dev/sdg1(0)
[100_percent_rmeta_1] raid_sanity ewi-aor--- 4.00m /dev/sde1(0)
[root@grant-03 ~]# lvextend -l+100%FREE raid_sanity/100_percent
Extending 2 mirror images.
LV raid_sanity/100_percent_rimage_1 using PV /dev/sdg1 is not redundant.
Insufficient suitable allocatable extents for logical volume raid_sanity/100_percent
Internal error: Removing still active LV raid_sanity/100_percent_rmeta_0.
You have a memory leak (not released memory pool):
[0x55a71784dd70] allocation
Internal error: Unreleased memory pool(s) found.
Version-Release number of selected component (if applicable):
kernel-5.14.0-360.el9 BUILT: Wed Aug 23 07:48:06 PM CEST 2023
lvm2-2.03.21-3.el9 BUILT: Thu Jul 13 08:50:26 PM CEST 2023
lvm2-libs-2.03.21-3.el9 BUILT: Thu Jul 13 08:50:26 PM CEST 2023
How reproducible:
Everytime
- impacts account
-
RHEL-8334 multisegment RAID1, allocator uses one disk for both legs
- Closed
- external trackers
- links to
-
RHBA-2024:136325 lvm2 bug fix and enhancement update