Re: Partitioning fails when setting up software RAID during Sarge install
On Wed, Sep 28, 2005 at 06:48:06PM +0100, Jason Clifford wrote:
> Package: Debian Installer
> Version: 3.1
> I have been installing Debian Stable 3.1 (Sarge) onto some Dell SC1425
> servers and have run into a problem with the partitioning in the
> The servers have a pair of SATA drives which I am setting up in a level 1
> RAID array. Once I have created the md devices and assigned a filesystem
> and mount point to the array I select the option to complete paritioning
> and proceed. The installer then attempts to format each partition but
> fails for the RAID array devices as it expects an device name
> (/dev/md/0p1) that is inconsistent with the device node created by devfs
> I worked around the problem by using the console on tty2 to manually mknod
> the necessary device to suite the incorrect naming expected in the
> installer however I would not expect anyone not familiar with Linux
> sysadmin to know how to do this or even that it is necessary.
Personally I have never partitioned an md device. I always partition
the disks into the number of I want and make each one a raid1 md device
and then things work perfectly fine.
My usual setup is:
/dev/sda1 /dev/sdb1: /dev/md0 /boot (128M)
/dev/sda2 /dev/sdb2: /dev/md1 / (20G)
/dev/sda3 /dev/sdb3: /dev/md2 PV for LVM (rest of space).
The LVM contains /home, /data, /whatever I need seperate.
If I add more disks, I create one partition, with raid1, then use the
resulting md as another PV to append to the LVM and expand the existing
logical volumes as needed.
Partition support on md and loop and other virtual devices seems a bit
lacking in general.