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

Bug#616721: Add support to create degraded md devices

Package: debian-installer
Severity: whishlist
Tags: d-i

Latest debian installer on Squeeze Iso disk debian-6.0.0-amd64-BD-1.iso used to
install new computer.

At the level of creating md devices it is not possible to create degraded md devices.
For example if you have only one disk of two available for the md configuration it is
not possible to create an md1 with one active and one missing device. You need an minimum
of 2 disks available.
The same issue with raid-5 (3 needed, but in degraded mode working already with 2 devices)
or with raid-6 (4 needed, but in degraded mode must work with 2 devices)

It is possible to use spare devices as missing but this is not the fact what I mean.

I can create e.g. manually md devices in the console with

mdadm --create --raid-devices=2 --raid-lcvel=1 /dev/md1 /dev/sda1
mdadm --create --raid-devices=2 --raid-level=5 /dev/md1 /dev/sda1 /dev/sdb1 missing
mdadm --create --raid-devices=2 --raid-level=6 /dev/md1 /dev/sda1 /dev/sdb1 missing missing

so I can later add the missing devices. Please extend the md configuration so degraded
raid array's can be build at time of installation. A warning message should be seen here,
if an degraded array will be build.

-- System Information:
Debian Release: 6.0
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: