From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbWFMQBj (ORCPT ); Tue, 13 Jun 2006 12:01:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932163AbWFMQBj (ORCPT ); Tue, 13 Jun 2006 12:01:39 -0400 Received: from caffeine.uwaterloo.ca ([129.97.134.17]:31711 "EHLO caffeine.csclub.uwaterloo.ca") by vger.kernel.org with ESMTP id S932161AbWFMQBi (ORCPT ); Tue, 13 Jun 2006 12:01:38 -0400 Date: Tue, 13 Jun 2006 12:01:38 -0400 To: Christian H?rtwig Cc: linux-kernel@vger.kernel.org Subject: Re: How does RAID work with IT8212 RAID PCI card? Message-ID: <20060613160138.GC560@csclub.uwaterloo.ca> References: <200606131758.45704.christian.haertwig@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606131758.45704.christian.haertwig@gmx.de> User-Agent: Mutt/1.5.9i From: Lennart Sorensen X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lsorense@csclub.uwaterloo.ca X-SA-Exim-Scanned: No (on caffeine.csclub.uwaterloo.ca); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 13, 2006 at 05:58:45PM +0200, Christian H?rtwig wrote: > i need some advise regarding the usage of the above kernel module. Today i > have plugged a PCI RAID card into my computer, IT8212 chip on it, and two > identical hard drives on the primary and secondary master of that controller. > In the controller BIOS i defined a mirror set out of those both disks and > booted linux afterwards. > > Loading the kernel module dmesg showed that the controller was found and that > 2 harddiscs are attached to it. > > The thing that i wonder about is, that i still can "see" both harddisks > independently, but i would expect to see only one harddisk at all, that > represents the RAID set. Udev also registers /dev/hde and /dev/hdg, but (as > far as i can see) no further device. > > Is there anything wrong about my setup? Is this i driver issue? Or is this the > normal and expected behaviour and its me who doesn't "use" the module > properly? How to i access the RAID set instead of the two seperate disks? Congratulations. You have a fake raid card by the sound of it. A hardware raid card would have only shown one drive, while a fake raid card expects the driver to work with the bios to find out the setup (and handle booting), and then the driver does all the raid work in software. It is much simpler to treat fake raid cards as just another drive controller and use linux software raid on it. At least then you know how it works, and it is portable to other controllers later if needed. Len Sorensen