-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
[Epic]: fix: Fix getting PVs from raid_disks for RAID LVs
-
Low
-
Red Hat Enterprise Linux
-
25% To Do, 25% In Progress, 50% Done
-
rhel-sst-system-roles
-
False
-
-
Yes
-
Dev ack
-
Bug Fix
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
Currently the code expects the disks specified in raid_disks are parent devices of the PVs we are going to use to allocate the RAID LVs. This might not be true in several cases, for example if the VG is encrypted (the LUKS device introduces a new layer in the storage stack) or if partitions are not used (the disk is then the PV and doesn't have a parent). This fix also allows user to specify the PV partition instead of the underlying disk.
-
- Summary by Sourcery
Improve PV resolution in LVM RAID to support encrypted and partitioned devices and add corresponding tests
Bug Fixes:
- Fix PV detection for raid_disks entries to handle encrypted LUKS layers and direct partitions
Enhancements:
- Add error handling for missing or invalid raid_disks entries
Tests:
- Add tests for creating and removing LVM RAID devices on encrypted volume groups
- links to