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

Grub2-probe reports disk 'mdX' not found

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • CentOS Stream 9
    • grub2
    • None
    • sst_desktop_firmware_bootloaders
    • ssg_desktop
    • 3
    • CentOS Stream
    • x86_64

      What were you trying to do that didn't work?

      grub2-probe -t fs /boot/config-5.14.0-437.el9.x86_64

      Please provide the package NVR for which bug is seen:

      grub2 packages version is 1:2.06-68.el9

      How reproducible:

      constantly after mdadm was updated to 4.3-1.el9 in Centos 9 Stream

      does not reproduce with mdadm 4.2-12.el9

      Steps to reproduce

      We have the next configuration: KVM virtual machine with two sata disks, three md raid1 arrays for efi, boot and /

      mdadm --detail /dev/md1 returns:

      /dev/md1:
                 Version : 1.2
           Creation Time : Thu May  9 12:26:10 2024
              Raid Level : raid1
              Array Size : 510976 (499.00 MiB 523.24 MB)
           Used Dev Size : 510976 (499.00 MiB 523.24 MB)
            Raid Devices : 2
           Total Devices : 2
             Persistence : Superblock is persistent

             Update Time : Thu May  9 12:39:31 2024
                   State : clean
          Active Devices : 2
         Working Devices : 2
          Failed Devices : 0
           Spare Devices : 0

      Consistency Policy : resync

                    Name : md1
                    UUID : 45b3c561:0ea4ab3a:36efe173:8f3f0f03
                  Events : 70

          Number   Major   Minor   RaidDevice State
             0       8       18        0      active sync   /dev/sdb2
             1       8        2        1      active sync   /dev/sda2

      Expected results

      ext4

      Actual results

      grub2-probe: error: ../grub-core/kern/disk.c:236:disk `md1' not found.

        1. grub2-probe_log
          14 kB
        2. vm_config
          5 kB

            bootloader-eng-team bootloader -eng-team
            chelovekchtulhu Alex Alexandrov
            bootloader -eng-team bootloader -eng-team
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: