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

[RHEL9.6] IMSM - when "Intel-only SSD SKU" key is used, mdadm does not allow to use any disk.

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.6.z
    • rhel-9.6, rhel-9.7
    • mdadm
    • None
    • Yes
    • Important
    • rhel-storage-crs
    • ssg_platform_storage
    • 3
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Regression is introduced by patch 734e7db ("imsm: Remove warning and refactor add_to_super_imsm code")

      Before the mentioned patch, the check to verify if IMSM on current platform supports a use of TPV (other than Intel) disk, was only performed for non-Intel disks, after it is performed for all. This change causes inability to use any disk when platform does not support TPV drives, attempt to use Intel device results in the following error.

      example command to reproduce:

      1. Choose two Intel disks
      1. mdadm --create /dev/md/imsm_container --metadata imsm --raid-devices=2 /dev/nvme3n1 /dev/nvme6n1 --run

      mdadm: Platform configuration does not support non-Intel NVMe drives. Please refer to Intel(R) RSTe/VROC user guide. This change restores the check if the disk is non-Intel.

       

      The issue is visible in RHEL 9.6 GA and RHEL 9.7 ISO(RHEL-9.7.0-20250521.6-x86_64)

      Fix is already in upstream: https://github.com/md-raid-utilities/mdadm/commit/8032700b7a44df2dd54af478940938958c08dcf0 

      https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=8032700b7a44df2dd54af478940938958c08dcf0 

              xni@redhat.com Xiao Ni
              blazej.kucman@intel.com Blazej Kucman
              Intel Confidential Group
              Nigel Croxon Nigel Croxon
              Fan Fan Fan Fan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: