Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get raid
Date: Wed, 04 Jan 2012 13:37:02
Message-Id: 201201042235.08018.alexander.puchmayr@linznet.at
In Reply to: [gentoo-user] How to get raid by Jeff Cranmer
1 On Wednesday 04 January 2012 11:57:18 Jeff Cranmer wrote:
2 > Hi all,
3 >
4 > I have recently built a new system, running Gentoo on a Sabertooth 990FX
5 > motherboard. The board has a raid controller on which I'm running a
6 > 120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
7 > drives which were previously running as a RAID5 array.
8 >
9 > I can see the sda 120GB drive and have installed the operating system on
10 > that. I can't see one device for the three disk RAID5 array, even
11 > though the RAID BIOS reports it as a healthy 3TB disk. Instead I see
12 > three separate devices, sdb, sdc and sdd
13 >
14 > What do I need to do to mount the 3TB RAID disk? I'm running genkernel,
15 > and compiled it with genkernel --dmraid all. It should already have
16 > data on it, if I can only get gentoo to recognise it.
17 >
18 > I can see the RAID controller when I use lspci
19 >
20 > 00:11.0 RAID bus controller: ATI Technologies Inc SB7x0,SB8x0,SB9x0 SATA
21 > Controller [RAID5 mode] (rev 40)
22 >
23 > One possible clue may be in dmesg, where I get the error
24 > device-mapper: table: 253:0: raid45: unknown target type
25 >
26
27 The first question is: What type of raid are you using?
28
29 a) Software-Raid created with mdadm & co
30
31 b) Hardware-Controller based raid.
32
33 While in the first case you see all individual disks with their partitions and
34 a /dev/mdX entry that actually contains the raid failsystem, the second one
35 shows only a /dev/sdX holding the final raid drive.
36
37 Additionally, for the hardware based raid, you'll need a driver for the
38 controller that supports the raid5. I think this is the configuration you're
39 trying to run, since you mentioned that you created your raid in the RAID
40 BIOS.
41
42 I'm not sure (I've never tried this) whether there is a driver for Linux
43 supporting raid modes on board-embedded HW raid controllers.
44
45 Alex

Replies

Subject Author
Re: [gentoo-user] How to get raid Jeff Cranmer <jeff@××××××××××××××.com>