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

loa_rus 1341312 at bugs.launchpad.net
Mon Sep 8 11:03:00 UTC 2014


** Description changed:

  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 testcase i am using virtualbox machine. I simply
- remove one of harddrives containers from virtual machine and trying to
- boot.
+ were on different partitions. After that i tried to emulate harddrive
+ problem. For this testcase i used virtualbox machine. I removed one of
+ harddrive containers from virtual machine and tried 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.
+ i can mount them. And array was 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 was  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)

-- 
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:
  Confirmed

Bug description:
  Situation: i created software raid 1 configuration. Boot, swap and
  root were on different partitions. After that i tried to emulate
  harddrive problem. For this testcase i used virtualbox machine. I
  removed one of harddrive containers from virtual machine and tried 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 was 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 was  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