[Bug 1341312] [NEW] System couldn't boot from degraded raid 1

loa_rus 1341312 at bugs.launchpad.net
Sun Jul 13 15:38:53 UTC 2014


Public bug reported:

Situation: i created software raid 1 configuration. Boot, swap and root
on different partitions. After that i am trying to emulate harddrive
problem. For this i am using virtualbox machine. I simply remove
harddrive from system and trying to boot.

What expected: system boots normal.

What happened: First time after deletion system boots normal, but second
time it drops into initramfs. I see that md devices exists in system and
i can mount them. And array marked as degraded. When i return disk back
system loads normal, but raid is checked as degraded and i need to add
partitions to raid again. But if i don't do it system drops to initramfs
again. So looks like system loads with degraded raid only if hardware
configuration changed.  Here few screenshots.

Screenshot when system stops booting:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A17%3A20.png

cat /proc/mdstat:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A18%3A23.png

mdadm -D /dev/md0:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A19%3A56.png

cat /etc/fstab:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A22%3A18.png

lsb_release -rd:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A37%3A09.png

apt-cache policy mdadm:
https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A38%3A07.png

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mdadm (not installed)
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 13 19:02:56 2014
InstallationDate: Installed on 2014-06-11 (32 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: mdadm
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug trusty

-- 
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/1341312

Title:
  System couldn't boot from degraded raid 1

Status in “mdadm” package in Ubuntu:
  New

Bug description:
  Situation: i created software raid 1 configuration. Boot, swap and
  root on different partitions. After that i am trying to emulate
  harddrive problem. For this i am using virtualbox machine. I simply
  remove harddrive from system and trying to boot.

  What expected: system boots normal.

  What happened: First time after deletion system boots normal, but
  second time it drops into initramfs. I see that md devices exists in
  system and i can mount them. And array marked as degraded. When i
  return disk back system loads normal, but raid is checked as degraded
  and i need to add partitions to raid again. But if i don't do it
  system drops to initramfs again. So looks like system loads with
  degraded raid only if hardware configuration changed.  Here few
  screenshots.

  Screenshot when system stops booting:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A17%3A20.png

  cat /proc/mdstat:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A18%3A23.png

  mdadm -D /dev/md0:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A19%3A56.png

  cat /etc/fstab:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A22%3A18.png

  lsb_release -rd:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A37%3A09.png

  apt-cache policy mdadm:
  https://dl.dropboxusercontent.com/u/25725476/screenshot-2014.07.13-19%3A38%3A07.png

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: mdadm (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
  Uname: Linux 3.13.0-29-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Jul 13 19:02:56 2014
  InstallationDate: Installed on 2014-06-11 (32 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: mdadm
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list