libstorage-ng and YaST used to lack support for the RAID level "linear". That leaded to errors during probing in a system with such RAIDs. See bsc#1215022.
To fix the problem, support for a new MdLevel::LINEAR was added to libstorage-ng. But yast2-storage-ng needs the corresponding adaptations to the new MD level.
To be precise, we want YaST to stop failing in presence of such a RAID, but we don't want to add support to create new ones.
Solution
This targets SLE-15-SP4, only as a fix for the reported bug.
Adds the code needed to recognize the new level added to libstorage-ng, so probing works and the RAIDs are properly represented (eg. in the Expert Partitioner).
This also adds basic handling at AutoYaST. Basically preventing the <raid_level> to be cloned as "linear". If a linear RAID is detected in the system it will be exported with an unknown RAID level. That's a first step (the solution will be refined in subsequent versions) to clearly state that such a RAID level is not supported by (Auto)YaST.
Problem
libstorage-ng and YaST used to lack support for the RAID level "linear". That leaded to errors during probing in a system with such RAIDs. See bsc#1215022.
To fix the problem, support for a new
MdLevel::LINEAR
was added to libstorage-ng. But yast2-storage-ng needs the corresponding adaptations to the new MD level.To be precise, we want YaST to stop failing in presence of such a RAID, but we don't want to add support to create new ones.
Solution
This targets SLE-15-SP4, only as a fix for the reported bug.
Adds the code needed to recognize the new level added to libstorage-ng, so probing works and the RAIDs are properly represented (eg. in the Expert Partitioner).
This also adds basic handling at AutoYaST. Basically preventing the
<raid_level>
to be cloned as "linear". If a linear RAID is detected in the system it will be exported with an unknown RAID level. That's a first step (the solution will be refined in subsequent versions) to clearly state that such a RAID level is not supported by (Auto)YaST.Testing
Tested manually with a patched SLE-15-SP4