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

wheezy installer forgets format of raid device if other raid device is used for lvm



Hei hei,

when using the current Debian installer for wheezy on a couple of
machines lately I noticed something I would consider a bug. Let me first
describe what I want to achieve.

I could reproduce this on three different machines of different age with
different number of hard disks but all i386 architecture, with normal
install, graphical install and graphical expert install.

I got >= 2 hard discs and like to setup as follows:

First primary partition on each should be part of software RAID /dev/md0
which will be used as /boot formatted with ext3. (grub should be
installed to /dev/sd?1 later).

Second primary partition on each hard disk should be swap.

Third primary partition on each hard disk should be part of a software
RAID device level 1, 5 or 6 (irrelevant which) and be /dev/md1 later.

/dev/md1 should be a physical device for LVM, this physical device will
be part of one volume group. Two logical volumes will be created in this
volume group, one for / and one for /home both formatted with ext4.

What I did in the installer in manual partitioning:

1) create the primary partitions as above
2) configure raid
3) mark /dev/md0 to be formatted as ext3 and used as /boot
4) configure LVM with /dev/md1 as physical volume
5) mark the created logical volumes to be formatted as ext4 and used as
/ and /home

Between step 3 and step 4 the installer forgets that /dev/md0 should be
formatted and used as boot. I don't remember exactly if it already gets
formatted before step 4 but this is irrelevant because it's not marked
to be used as /boot after step 4 (or 5). If you don't notice this,
system will install successfully but you end up with a not used /dev/md0
and having /boot inside the / logical volume, which I didn't want.

As said above: I would consider this a bug, but I have no clue to which
package I should report this.

When answering please put me in Cc, I'm not on the debian-boot list.

Greets
Alex

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: