** Description changed:

  Situation: i created software raid 1 configuration. Boot, swap and root
- on different partitions. After that i am trying to emulate haddrive
+ 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)

** 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 i am using virtualbox machine. I simply remove
- harddrive from system and trying to boot.
+ problem. For this testcase i am using virtualbox machine. I simply
+ remove one of harddrives containers from virtual machine 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)

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

Title:
  System couldn't boot from degraded raid 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to