From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RiR1a-0007IX-2x for garchives@archives.gentoo.org; Wed, 04 Jan 2012 13:37:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61F6921C027; Wed, 4 Jan 2012 13:36:53 +0000 (UTC) Received: from puchmayr.linznet.at (puchmayr.linznet.at [80.66.46.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 5214021C027 for ; Wed, 4 Jan 2012 13:35:50 +0000 (UTC) Received: (qmail 29351 invoked from network); 4 Jan 2012 13:35:48 -0000 Received: from unknown (HELO apollo.localnet) (192.168.11.4) by persephone.local with SMTP; 4 Jan 2012 13:35:48 -0000 From: Alexander Puchmayr To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to get raid Date: Wed, 4 Jan 2012 22:35:07 +0900 User-Agent: KMail/1.13.5 (Linux/2.6.39-gentoo-r3; KDE/4.6.2; x86_64; ; ) References: <1325645839.4553.13.camel@laptop.limeyworld> In-Reply-To: <1325645839.4553.13.camel@laptop.limeyworld> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201201042235.08018.alexander.puchmayr@linznet.at> X-Archives-Salt: 8e14d72d-0e2f-49b5-afd2-1a50d674b734 X-Archives-Hash: 65705ad6609b0dc57571bf13f97a5b7d On Wednesday 04 January 2012 11:57:18 Jeff Cranmer wrote: > Hi all, > > I have recently built a new system, running Gentoo on a Sabertooth 990FX > motherboard. The board has a raid controller on which I'm running a > 120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB > drives which were previously running as a RAID5 array. > > I can see the sda 120GB drive and have installed the operating system on > that. I can't see one device for the three disk RAID5 array, even > though the RAID BIOS reports it as a healthy 3TB disk. Instead I see > three separate devices, sdb, sdc and sdd > > What do I need to do to mount the 3TB RAID disk? I'm running genkernel, > and compiled it with genkernel --dmraid all. It should already have > data on it, if I can only get gentoo to recognise it. > > I can see the RAID controller when I use lspci > > 00:11.0 RAID bus controller: ATI Technologies Inc SB7x0,SB8x0,SB9x0 SATA > Controller [RAID5 mode] (rev 40) > > One possible clue may be in dmesg, where I get the error > device-mapper: table: 253:0: raid45: unknown target type > The first question is: What type of raid are you using? a) Software-Raid created with mdadm & co b) Hardware-Controller based raid. While in the first case you see all individual disks with their partitions and a /dev/mdX entry that actually contains the raid failsystem, the second one shows only a /dev/sdX holding the final raid drive. Additionally, for the hardware based raid, you'll need a driver for the controller that supports the raid5. I think this is the configuration you're trying to run, since you mentioned that you created your raid in the RAID BIOS. I'm not sure (I've never tried this) whether there is a driver for Linux supporting raid modes on board-embedded HW raid controllers. Alex