[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#393728: dm-crypt on raid does not play nicely



Package: partman-crypto

Hi,

I installed from today's i386 netinst (20061016) with the following
setup:

/dev/hda1   16MB /boot
/dev/hda2  500MB physical volume for raid

/dev/hdb1   16MB unused
/dev/hdb2  500MB physical volume for raid

RAID 1 was created from /dev/hda2 and /dev/hdb2 and on the top of it
dm-crypt partition was created with all defaults.

After returning from "Configure encrypted volumes" the new device
md0_crypt was created as expected, but there was no "partition" inside
it to use.

I had to press enter on the md0_crypt device itself and it offered me
to create new partition table, which in turn created free space, which
then I was able to partition. (Quite surprised as I did not see this
with partman-crypto yet.) So in this free space I created two
partitions, 400 MB for / and the rest (~91 MB) for /home.

The installation then proceeded like usual, but after the reboot to
the real system

  Begin: Loading MD modules ...
  md: driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
  md: bitmap version 4.39
  md: raid1 personality registered for level 1
  Success: loaded module raid1.
  Done.
  Begin: Assembling all MD arrays ...
  md: md0 stopped.
  md: bind<hdb2>
  md: bind<hda2>
  raid1: raid set md0 active with 2 out of 2 mirrors
  mdadm: /dev/md0 has been started with 2 drives.
  Success: assembled all arrays.
  No cryptoroot configured, skipping
  Done.
  Begin: Waiting for root file system... ...
  _

The boot was stuck at that point, but after a while it continued:

  Done.
         Check root= bootarg cat /proc/cmdline
	 or mirring modules, devices: cat /proc/modules ls /dev
  ALERT! /dev/mapper/md0_crypt does not exist. Dropping to a shell!


-- 
Miroslav Kure



Reply to: