Skip to content

Cannot assemble Intel IMSM RAID1 anymore starting with mdadm 4.5 #268

@JosuaRieder

Description

@JosuaRieder

I'm on Arch with kernel x86_64 Linux 7.0.5-arch1-1, booted in UEFI. I've been using Intel IMSM RAID1 for close to a decade now without any issues but after an update approximately two months ago the disks showed up separately. Downgrading to 4.4.2 has fixed the issue again.

Below is some 4.6 output:

~$ sudo mdadm --examine /dev/sde /dev/sde1 /dev/sde2 /dev/sdg /dev/sdg1 /dev/sdg2
/dev/sde:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.3.00
    Orig Family : 32ea66cc
         Family : 32ea66cc
     Generation : 0000000d
  Creation Time : Unknown
     Attributes : a4000002 (supported)
           UUID : 88bbfdfc:e15f634a:aaea4d4f:23268101
       Checksum : 6e629ee5 correct
    MPB Sectors : 1
          Disks : 2
   RAID Devices : 1

  Disk00 Serial : WD-WCC7K6DLTJ9H
          State : active
             Id : 00000003
    Usable Size : 7814031360 (3.64 TiB 4.00 TB)

[RAID]:
       Subarray : 0
           UUID : c8a70ac5:f1cddbfd:f0243eb0:5a417233
     RAID Level : 1
        Members : 2
          Slots : [UU]
    Failed disk : none
      This Slot : 0
    Sector Size : 512
     Array Size : 7814031360 (3.64 TiB 4.00 TB)
   Per Dev Size : 7814031624 (3.64 TiB 4.00 TB)
  Sector Offset : 0
    Num Stripes : 30523560
     Chunk Size : 64 KiB
       Reserved : 0
  Migrate State : idle
      Map State : normal
    Dirty State : clean
     RWH Policy : off
      Volume ID : 1

  Disk01 Serial : WD-WX42D61ANNAJ
          State : active
             Id : 00000005
    Usable Size : 7814031360 (3.64 TiB 4.00 TB)
mdadm: No md superblock detected on /dev/sde1.
/dev/sde2:
   MBR Magic : aa55
Partition[0] :   1836018464 sectors at   1380404564 (type 0a)
Partition[1] :   1953723749 sectors at   1309281536 (type 69)
Partition[2] :   1953251627 sectors at   1735554131 (type 6d)
Partition[3] :        55233 sectors at   2978742282 (type 66)
/dev/sdg:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.3.00
    Orig Family : 32ea66cc
         Family : 32ea66cc
     Generation : 0000000d
  Creation Time : Unknown
     Attributes : a4000002 (supported)
           UUID : 88bbfdfc:e15f634a:aaea4d4f:23268101
       Checksum : 6e629ee5 correct
    MPB Sectors : 1
          Disks : 2
   RAID Devices : 1

  Disk01 Serial : WD-WX42D61ANNAJ
          State : active
             Id : 00000005
    Usable Size : 7814031360 (3.64 TiB 4.00 TB)

[RAID]:
       Subarray : 0
           UUID : c8a70ac5:f1cddbfd:f0243eb0:5a417233
     RAID Level : 1
        Members : 2
          Slots : [UU]
    Failed disk : none
      This Slot : 1
    Sector Size : 512
     Array Size : 7814031360 (3.64 TiB 4.00 TB)
   Per Dev Size : 7814031624 (3.64 TiB 4.00 TB)
  Sector Offset : 0
    Num Stripes : 30523560
     Chunk Size : 64 KiB
       Reserved : 0
  Migrate State : idle
      Map State : normal
    Dirty State : clean
     RWH Policy : off
      Volume ID : 1

  Disk00 Serial : WD-WCC7K6DLTJ9H
          State : active
             Id : 00000003
    Usable Size : 7814031360 (3.64 TiB 4.00 TB)
mdadm: No md superblock detected on /dev/sdg1.
/dev/sdg2:
   MBR Magic : aa55
Partition[0] :   1836018464 sectors at   1380404564 (type 0a)
Partition[1] :   1953723749 sectors at   1309281536 (type 69)
Partition[2] :   1953251627 sectors at   1735554131 (type 6d)
Partition[3] :        55233 sectors at   2978742282 (type 66)
~$ sudo mdadm --assemble --scan
mdadm: No arrays found in config file or automatically
~$ sudo mdadm --incremental /dev/sde
mdadm: No OROM/EFI properties for /dev/sde
mdadm: no RAID superblock on /dev/sde.
~$ sudo mdadm --incremental /dev/sdg
mdadm: No OROM/EFI properties for /dev/sdg
mdadm: no RAID superblock on /dev/sdg.
~$ sudo mdadm --assemble /dev/md/imsm0 /dev/sde /dev/sdg
mdadm: No OROM/EFI properties for /dev/sde
mdadm: no RAID superblock on /dev/sde
mdadm: /dev/sde has no superblock - assembly aborted

Copilot says the regression comes from this commit: 1fc0f29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions