On Mon, 23 May 2005, Emanuele Morozzi wrote: > I use mdadm and I have not compiled md and raid0 as modules, but > directly into the kernel. The problem is that while booting md doesn't > find the raid properly. > > If you,re interested, this is part of the output of "fdisk -l" > > ****************************************************************** > Disk /dev/sda: 203.9 GB, 203928109056 bytes > 255 heads, 63 sectors/track, 24792 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 2677 21502971 7 HPFS/NTFS > /dev/sda2 2678 25624 184321777+ 7 HPFS/NTFS > /dev/sda3 25625 39137 108543172+ 7 HPFS/NTFS > /dev/sda4 39138 49585 83923560 7 HPFS/NTFS > > Disk /dev/sdb: 203.9 GB, 203928109056 bytes > 255 heads, 63 sectors/track, 24792 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sdb1 * 1 1581 12699351 fd Linux raid > autodetect > /dev/sdb2 1582 1706 1004062+ fd Linux raid > autodetect > /dev/sdb3 1707 1902 1574370 fd Linux raid > autodetect > /dev/sdb4 1903 24792 183863925 5 Extended > ******************************************************************
As someone else pointed out - these need to be of type "autodetect RAID". > And this is my mdadm.conf: > > ****************************************************************** > DEVICE /dev/sda1 > DEVICE /dev/sdb1 > DEVICE /dev/sda2 > DEVICE /dev/sdb2 > DEVICE /dev/sda3 > DEVICE /dev/sdb3 > DEVICE /dev/sda4 > DEVICE /dev/sdb4 > > ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1 > ARRAY /dev/md1 devices=/dev/sda2,/dev/sdb2 > ARRAY /dev/md2 devices=/dev/sda3,/dev/sdb3 > ARRAY /dev/md3 devices=/dev/sda4,/dev/sdb4 > > PROGRAM /usr/sbin/handle-mdadm-events > ****************************************************************** I think you need to heed my earlier advice (which was to read the RAID HOWTO docs at tldp.org) so you understand what the different RAID levels mean. -- -- gentoo-user@gentoo.org mailing list