From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EU79v-00011D-4E for garchives@archives.gentoo.org; Mon, 24 Oct 2005 18:34:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9OIYdZA016824; Mon, 24 Oct 2005 18:34:39 GMT Received: from ms002msg.fastwebnet.it (ms002msg.fastwebnet.it [213.140.2.52]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9OISkvL022485 for ; Mon, 24 Oct 2005 18:28:46 GMT Received: from [1.36.68.35] (1.36.68.35) by ms002msg.fastwebnet.it (7.2.068.1) id 435CA5AB0000D58F for gentoo-user@lists.gentoo.org; Mon, 24 Oct 2005 20:28:46 +0200 From: Francesco Talamona To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: [OT] Moving system from "single-disk" to RAID-1 configuration Date: Mon, 24 Oct 2005 20:28:44 +0200 User-Agent: KMail/1.8.3 References: <200510231553.37011.Dan.Johansson@dmj.nu> In-Reply-To: <200510231553.37011.Dan.Johansson@dmj.nu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510242028.44718.ti.liame@email.it> X-Archives-Salt: fdf0398e-133f-42a1-a4e5-827eedf41f28 X-Archives-Hash: 3c8a03ab973221e94842edef5b17e994 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