On Sunday 23 October 2005 15:53, Dan Johansson wrote: > Hi, > > I have a setup Gentoo on a Box with a onboard ATA Raid controller > (Promise PDC20265 FastTrak100 Lite/Ultra100). At the moment I am only > using one ATA-Disk on this controller (this is the only disk in the > system). Now I want to add a second Disk to this system and setup a > RAID-1 configuration. Can someone point me to a good HOWTO or > something similar which describes how to setup this > (grub/lilo/dm/...) on a 2.6 kernel. > > Regards,
Many howtos mix raidtools and mdadm, this one [1] IMO is much clear. At the moment I'm running a system with a RAID1 for /boot and another RAID1 for root, and a LVM2 on top of a RAID5 for everything else. [3] The most difficult thing was making disc naming sticky, I have a ASUS A8V with a Via and a Promise controller, and the disk naming was so sloppy that if sda failed all other disks were renamed to accommodate in the free namespace, not at all reliable! See [2]. In the end, after udev fine tuning, I managed to build a degraded array of 4 disks using 3 discs (the RAID1 for /boot was built with 3 of 3 from the start) using instruction and suggestion in [1], no need for /etc/raidtab! A livecd that recognizes your hardware and has mdadm, lvm... is an invaluable rescue tool, test it before all. [1]http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html [2]http://forum.hardware.fr/hardwarefr/OSAlternatifs/RAID-Soft-SATA-SCSI-Les-disques-changent-resolu-sujet-51807-1.htm [3]http://www.gentoo.org/doc/en/lvm2.xml ciao Francesco -- Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST 2005 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total aemaeth -- gentoo-user@gentoo.org mailing list