[Bug 659899] Re: Degraded boot fails when using encrypted raid1 with lvm

dienteperro dienteperro1207 at yahoo.com
Tue Sep 30 13:31:53 UTC 2014


Reproduced in a Vmware virtual machine running Zentyal 3.3 (Ubuntu 12.04
LTS based) tried with two vmdisks in raid1 also, 3 partition as physical
volumes for raid, one as /boot and two others as physical volumes for
encryption used as swap and /. Grub installed on both disks, and
confirmed positive to boot in degraded mode. After all was setup ok,
reboot without one of the disks removed (tried on both with the same
result) and get message "cryptsetup: evms_activate is not available" and
after a while get the prompt of initramfs' busybox.

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

Title:
  Degraded boot fails when using encrypted raid1 with lvm

Status in “debian-installer” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: debian-installer

  This is probably similar or duplicate of bug #577239
  https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/577239

  I'm testing Ubuntu 10.10 Server under VirtualBox following this test case:
  http://testcases.qa.ubuntu.com/Install/ServerRAID1

  Installation, reboot and upgrade go ok, but when testing boot with
  degraded array, grub fails with:

  "-r ALERT! /dev/disk/by-uuid/[....] does not exist. Dropping to a
  shell"

  dropping to initramfs busybox prompt.

  To reproduce this bug, create a virtual machine for ubuntu guest with
  two 10Gb sata disks.

  Boot with 10.10 server i386 iso image
  Partiion as follows:

  2 500mb partitions(one for each disk) used as physical volumes for raid1, device md0
  2 partitions using all the remaining space (one for each disk) used as physical volumes for raid1, device md1

  md0 mounted as /boot formatted with ext2
  md1 as physical volume for encryption
  md1_crypt as physical volume for LVM

  3 LVM volume groups for /, /home and swap

  complete the installation with defaults, install grub on MBR of both disks, and reboot.
  System boots correctly.
  Apt-get update && upgrade, reboot, system boots correctly.
  Poweroff. Remove one of the two virtual disks from the VM, doesnt matter which one, reboot, fails with the message above.
  Poweroff. Re-add the disk to the VM, poweron. System boots normally.

  debian-installer version: 20100211ubuntu29
  mdadm version: 2.6.7.1-1ubuntu16
  cryptsetup version: 2:1.1.2-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/659899/+subscriptions



More information about the foundations-bugs mailing list