[Bug 120375] Re: cannot boot raid1 with only one disk

Ace Suares ace at suares.an
Tue Aug 19 11:29:10 BST 2008

** Description changed:

+ The impact of the bug on users: Systems with root on a RAID array will
+ not be able to boot if the array is degraded. Usrs affected by this will
+ encounter an unusable system after a reboot (say, a kernel upgrade).
+ Justification for backporting the fix to the stable release: Hardy is a
+ LTS edition. It is expected that people will continue to use this
+ version and not upgrade to Intrepid. People who have upgrade from Dapper
+ LTS to Hardy LTS are affected too.
+ Build a clean system with root on RAID, with Ubuntu 8.04 LTS. Degrade the root array. Reboot and shiver.
+ A discussion of the regression potential of the patch and how users could get inadvertently effected. 
+ - the only users that could be affected, as fas as  know, are the ones that already made a workaround and altered their system files accordingly.
  Binary package hint: mdadm
  if i unplug one hd from raid1 i cannot successfully boot because raid
  starts only if all disks are available through
  : "${MD_DEGRADED_ARGS:= --no-degraded}" in /usr/share/initramfs-
  my workaround is:
  # Copyright <C2><A9> 2006 Martin F. Krafft <madduck at debian.org>
  # based on the scripts in the initramfs-tools package.
  # released under the terms of the Artistic Licence.
  # $Id: hook 281 2006-12-08 08:14:44Z madduck $
  set -eu
          echo "$PREREQ"
  case ${1:-} in
      exit 0
  MDADM=$(command -v mdadm 2>/dev/null) || :
  [ -x $MDADM ] || exit 0
  exit 0

cannot boot raid1 with only one disk
You received this bug notification because you are a member of Ubuntu
Server Team, which is a subscriber of a duplicate bug.

More information about the Ubuntu-server-bugs mailing list