[Bug 1217344] [NEW] RAID1 array containing a RAID0 array as a member is started in degraded mode upon reboot

Rune K. Svendsen runesvend at gmail.com
Tue Aug 27 12:35:55 UTC 2013


Public bug reported:

For some reason, a functioning RAID1 array that contains a RAID0 array
as a member does not properly assemble after rebooting.

Before rebooting, when everything is running fine, this is what
/proc/mdstat looks like:

    rune at rune-desktop:~$ cat /proc/mdstat 
    Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10] 
    md0 : active raid0 sdd1[1] sdc1[0]
          1953522688 blocks super 1.2 512k chunks
          
    md2 : active raid1 md0[2] sdb1[0]
          1953382488 blocks super 1.2 [2/2] [UU]
          
    unused devices: <none>

After rebooting it looks like this:

    rune at rune-desktop:~$ cat /proc/mdstat 
    Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10] 
    md0 : active raid0 sdd1[1] sdc1[0]
          1953522688 blocks super 1.2 512k chunks
          
    md2 : active (auto-read-only) raid1 sdb1[0]
          1953382488 blocks super 1.2 [2/1] [U_]
          
    unused devices: <none>

This can be fixed by running:

    sudo mdadm /dev/md2 --add /dev/md0

But I'd rather not have to do this upon every reboot.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: mdadm 3.2.5-5ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Tue Aug 27 14:30:03 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-06-09 (443 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MDadmExamine.dev.sda:
 /dev/sda:
    MBR Magic : aa55
 Partition[0] :     41943040 sectors at         1024 (type 83)
 Partition[1] :    110162944 sectors at     41944064 (type 83)
 Partition[2] :      4194304 sectors at    152107008 (type 82)
MDadmExamine.dev.sda1: Error: command ['/sbin/mdadm', '-E', '/dev/sda1'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda1.
MDadmExamine.dev.sda2: Error: command ['/sbin/mdadm', '-E', '/dev/sda2'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda2.
MDadmExamine.dev.sda3: Error: command ['/sbin/mdadm', '-E', '/dev/sda3'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda3.
MDadmExamine.dev.sdb:
 /dev/sdb:
    MBR Magic : aa55
 Partition[0] :   3907027120 sectors at         2048 (type 83)
MDadmExamine.dev.sdc:
 /dev/sdc:
    MBR Magic : aa55
 Partition[0] :   1953523120 sectors at         2048 (type 83)
MDadmExamine.dev.sdd:
 /dev/sdd:
    MBR Magic : aa55
 Partition[0] :   1953523120 sectors at         2048 (type 83)
MDadmExamine.dev.sde:
 /dev/sde:
    MBR Magic : aa55
 Partition[0] :    500118129 sectors at           63 (type 83)
MDadmExamine.dev.sde1: Error: command ['/sbin/mdadm', '-E', '/dev/sde1'] failed with exit code 1: mdadm: No md superblock detected on /dev/sde1.
MachineType: . .
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-29-generic root=UUID=53d93e82-bd1a-4b17-b657-d8694c5adb68 ro quiet splash vt.handoff=7
SourcePackage: mdadm
UpgradeStatus: Upgraded to raring on 2013-05-03 (115 days ago)
dmi.bios.date: 05/26/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: IP35 Pro XE(Intel P35-ICH9R)
dmi.board.vendor: http://www.abit.com.tw/
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.chassis.vendor: System Enclosure Manufacter
dmi.chassis.version: OEM
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd05/26/2008:svn.:pn.:pvrSystemVersion:rvnhttp//www.abit.com.tw/:rnIP35ProXE(IntelP35-ICH9R):rvr1.0:cvnSystemEnclosureManufacter:ct3:cvrOEM:
dmi.product.name: .
dmi.product.version: System Version
dmi.sys.vendor: .

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1217344

Title:
  RAID1 array containing a RAID0 array as a member is started in
  degraded mode upon reboot

Status in “mdadm” package in Ubuntu:
  New

Bug description:
  For some reason, a functioning RAID1 array that contains a RAID0 array
  as a member does not properly assemble after rebooting.

  Before rebooting, when everything is running fine, this is what
  /proc/mdstat looks like:

      rune at rune-desktop:~$ cat /proc/mdstat 
      Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10] 
      md0 : active raid0 sdd1[1] sdc1[0]
            1953522688 blocks super 1.2 512k chunks
            
      md2 : active raid1 md0[2] sdb1[0]
            1953382488 blocks super 1.2 [2/2] [UU]
            
      unused devices: <none>

  After rebooting it looks like this:

      rune at rune-desktop:~$ cat /proc/mdstat 
      Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10] 
      md0 : active raid0 sdd1[1] sdc1[0]
            1953522688 blocks super 1.2 512k chunks
            
      md2 : active (auto-read-only) raid1 sdb1[0]
            1953382488 blocks super 1.2 [2/1] [U_]
            
      unused devices: <none>

  This can be fixed by running:

      sudo mdadm /dev/md2 --add /dev/md0

  But I'd rather not have to do this upon every reboot.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: mdadm 3.2.5-5ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Tue Aug 27 14:30:03 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-06-09 (443 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MDadmExamine.dev.sda:
   /dev/sda:
      MBR Magic : aa55
   Partition[0] :     41943040 sectors at         1024 (type 83)
   Partition[1] :    110162944 sectors at     41944064 (type 83)
   Partition[2] :      4194304 sectors at    152107008 (type 82)
  MDadmExamine.dev.sda1: Error: command ['/sbin/mdadm', '-E', '/dev/sda1'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda1.
  MDadmExamine.dev.sda2: Error: command ['/sbin/mdadm', '-E', '/dev/sda2'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda2.
  MDadmExamine.dev.sda3: Error: command ['/sbin/mdadm', '-E', '/dev/sda3'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda3.
  MDadmExamine.dev.sdb:
   /dev/sdb:
      MBR Magic : aa55
   Partition[0] :   3907027120 sectors at         2048 (type 83)
  MDadmExamine.dev.sdc:
   /dev/sdc:
      MBR Magic : aa55
   Partition[0] :   1953523120 sectors at         2048 (type 83)
  MDadmExamine.dev.sdd:
   /dev/sdd:
      MBR Magic : aa55
   Partition[0] :   1953523120 sectors at         2048 (type 83)
  MDadmExamine.dev.sde:
   /dev/sde:
      MBR Magic : aa55
   Partition[0] :    500118129 sectors at           63 (type 83)
  MDadmExamine.dev.sde1: Error: command ['/sbin/mdadm', '-E', '/dev/sde1'] failed with exit code 1: mdadm: No md superblock detected on /dev/sde1.
  MachineType: . .
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-29-generic root=UUID=53d93e82-bd1a-4b17-b657-d8694c5adb68 ro quiet splash vt.handoff=7
  SourcePackage: mdadm
  UpgradeStatus: Upgraded to raring on 2013-05-03 (115 days ago)
  dmi.bios.date: 05/26/2008
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: IP35 Pro XE(Intel P35-ICH9R)
  dmi.board.vendor: http://www.abit.com.tw/
  dmi.board.version: 1.0
  dmi.chassis.type: 3
  dmi.chassis.vendor: System Enclosure Manufacter
  dmi.chassis.version: OEM
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd05/26/2008:svn.:pn.:pvrSystemVersion:rvnhttp//www.abit.com.tw/:rnIP35ProXE(IntelP35-ICH9R):rvr1.0:cvnSystemEnclosureManufacter:ct3:cvrOEM:
  dmi.product.name: .
  dmi.product.version: System Version
  dmi.sys.vendor: .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1217344/+subscriptions




More information about the foundations-bugs mailing list