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

mdadm-4.4-1.el10 display missing in --detail output

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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • rhel-10.1
    • mdadm
    • None
    • No
    • Critical
    • rhel-storage-crs
    • ssg_platform_storage
    • None
    • False
    • False
    • Hide

      None

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

      Problem Env:

      OS :

      Red Hat Enterprise Linux release 10.1 Beta (Coughlan)

      Package :

      mdadm-4.4-1.el10

      Reproduce steps:

      for  i in {1..3};do fallocate -l 200MiB /opt/loop$i; sleep 1; losetup /dev/loop$i /opt/loop$i;sleep 1 ; done
      mdadm -CR /dev/md0 -l 1 -n2 /dev/loop1 /dev/loop2
      mdadm --wait /dev/md0
      yes | mkfs.ext4 /dev/md0'
      mkdir /mnt/md_test
      mount /dev/md0 /mnt/md_test
      mdadm /dev/md0 --add /dev/loop3
      mdadm --wait /dev/md0
      mdadm --grow /dev/md0 -l5 -n3

       

      Expect result:

          1.When observe the output of mdadm --detail /dev/md0. there should not be "missing" text in the "Raid Device State" column

       

      mdadm-4.3-5.el10.x86_64
      
      
      Every 3.0s: mdadm -D /dev/md0                                                                             EL101-72803.lab.kissvm.net: Tue Jun  3 09:24:46 2025/dev/md0:
                 Version : 1.2
           Creation Time : Tue Jun  3 09:17:28 2025
              Raid Level : raid1
              Array Size : 203776 (199.00 MiB 208.67 MB)
           Used Dev Size : 203776 (199.00 MiB 208.67 MB)
            Raid Devices : 2
           Total Devices : 3
             Persistence : Superblock is persistent       Update Time : Tue Jun  3 09:20:14 2025
                   State : clean
          Active Devices : 2
         Working Devices : 3
          Failed Devices : 0
           Spare Devices : 1Consistency Policy : resync              Name : EL101-72803.lab.kissvm.net:0  (local to host EL101-72803.lab.kissvm.net)
                    UUID : 3cb39abf:3f9f3e24:1b14de98:27b96225
                  Events : 20    Number   Major   Minor   RaidDevice State
             0       7        1        0    active sync   /dev/loop1
             1       7        2        1    active sync   /dev/loop2       2       7        3        -    spare   /dev/loop3
      
       

       

       

       

       

      Actuallly result:

      1.The output of mdadm --detail /dev/md0. there are  "missing" texts in the "Raid Device State" column

       

      mdadm-4.4-1.el10.x86_64
      
      [root@EL101-72803 01-raid1]# cat /proc/mdstat 
      Personalities : [raid1] [raid4] [raid5] [raid6] 
      md0 : active raid1 loop3[2](S) loop2[1] loop1[0]
            408576 blocks super 1.2 [2/2] [UU]
            
      unused devices: <none>
      [root@EL101-72803 01-raid1]# mdadm -D /dev/md0 
      /dev/md0:
                 Version : 1.2
           Creation Time : Tue Jun  3 09:04:19 2025
              Raid Level : raid1
              Array Size : 408576 (399.00 MiB 418.38 MB)
           Used Dev Size : 408576 (399.00 MiB 418.38 MB)
            Raid Devices : 2
           Total Devices : 3
             Persistence : Superblock is persistent       Update Time : Tue Jun  3 09:04:27 2025
                   State : active 
          Active Devices : 2
         Working Devices : 3
          Failed Devices : 0
           Spare Devices : 1Consistency Policy : resync              Name : EL101-72803.lab.kissvm.net:0  (local to host EL101-72803.lab.kissvm.net)
                    UUID : 391553ea:79fb3cc9:fc88edec:582e71ce
                  Events : 21    Number   Major   Minor   RaidDevice State
             0       7        1        0      active sync   missing
             1       7        2        1      active sync   missing       2       7        3        -      spare   missing
      [root@EL101-72803 01-raid1]#  

       

       

      Last known good working version:

      mdadm-4.3-5.el10.x86_64

       

       

              xni@redhat.com Xiao Ni
              fan.fan Fan Fan
              Xiao Ni Xiao Ni
              Fan Fan Fan Fan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: