* How does RAID work with IT8212 RAID PCI card?
@ 2006-06-13 15:58 Christian Härtwig
2006-06-13 16:01 ` Lennart Sorensen
0 siblings, 1 reply; 6+ messages in thread
From: Christian Härtwig @ 2006-06-13 15:58 UTC (permalink / raw)
To: linux-kernel
Hello everybody,
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?
Thanks in advance. Yours sincerely,
Christian Haertwig
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How does RAID work with IT8212 RAID PCI card?
2006-06-13 15:58 How does RAID work with IT8212 RAID PCI card? Christian Härtwig
@ 2006-06-13 16:01 ` Lennart Sorensen
2006-06-13 16:20 ` Matheus Izvekov
2006-06-13 22:47 ` Alan Cox
0 siblings, 2 replies; 6+ messages in thread
From: Lennart Sorensen @ 2006-06-13 16:01 UTC (permalink / raw)
To: Christian H?rtwig; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How does RAID work with IT8212 RAID PCI card?
2006-06-13 16:01 ` Lennart Sorensen
@ 2006-06-13 16:20 ` Matheus Izvekov
2006-06-13 16:44 ` Lennart Sorensen
2006-06-13 22:47 ` Alan Cox
1 sibling, 1 reply; 6+ messages in thread
From: Matheus Izvekov @ 2006-06-13 16:20 UTC (permalink / raw)
To: Lennart Sorensen; +Cc: Christian H?rtwig, linux-kernel
On 6/13/06, Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote:
> 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
> -
No not true, i have this card and its a true hardware raid card. The
thing is, this card has both a raid and a passthru mode, you should
check which bios is flashed into it. Google is your friend.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How does RAID work with IT8212 RAID PCI card?
2006-06-13 16:20 ` Matheus Izvekov
@ 2006-06-13 16:44 ` Lennart Sorensen
2006-06-13 16:56 ` Matheus Izvekov
0 siblings, 1 reply; 6+ messages in thread
From: Lennart Sorensen @ 2006-06-13 16:44 UTC (permalink / raw)
To: Matheus Izvekov; +Cc: Christian H?rtwig, linux-kernel
On Tue, Jun 13, 2006 at 01:20:55PM -0300, Matheus Izvekov wrote:
> No not true, i have this card and its a true hardware raid card. The
> thing is, this card has both a raid and a passthru mode, you should
> check which bios is flashed into it. Google is your friend.
Hmm, you would think that if the bios lets you setup a raid, then it
must have raid mode enabled then. Or does it need a different driver to
work then?
Len Sorensen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How does RAID work with IT8212 RAID PCI card?
2006-06-13 16:44 ` Lennart Sorensen
@ 2006-06-13 16:56 ` Matheus Izvekov
0 siblings, 0 replies; 6+ messages in thread
From: Matheus Izvekov @ 2006-06-13 16:56 UTC (permalink / raw)
To: Lennart Sorensen; +Cc: Christian H?rtwig, linux-kernel
On 6/13/06, Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote:
> On Tue, Jun 13, 2006 at 01:20:55PM -0300, Matheus Izvekov wrote:
> > No not true, i have this card and its a true hardware raid card. The
> > thing is, this card has both a raid and a passthru mode, you should
> > check which bios is flashed into it. Google is your friend.
>
> Hmm, you would think that if the bios lets you setup a raid, then it
> must have raid mode enabled then. Or does it need a different driver to
> work then?
>
> Len Sorensen
>
Im not sre, never flashed the bios for passthru mode, because the
driver lets you select the mode thru some modparm. But maybe the
different bios only changes the default mode.
Anyway, this card is hardware raid for sure.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How does RAID work with IT8212 RAID PCI card?
2006-06-13 16:01 ` Lennart Sorensen
2006-06-13 16:20 ` Matheus Izvekov
@ 2006-06-13 22:47 ` Alan Cox
1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2006-06-13 22:47 UTC (permalink / raw)
To: Lennart Sorensen; +Cc: Christian H?rtwig, linux-kernel
Ar Maw, 2006-06-13 am 12:01 -0400, ysgrifennodd Lennart Sorensen:
> 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.
The IT8212 is not a fake raid card - it depends on the firmware whether
you see a drive per raid volume (hardware raid mode) or not (ATAPI
capable firmware). We've found the raid firmware seems quite
temperamental and there is little performance gain from raid 1 in
hardware over software so using md or device mapper is recommended for
that reason.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-13 22:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 15:58 How does RAID work with IT8212 RAID PCI card? Christian Härtwig
2006-06-13 16:01 ` Lennart Sorensen
2006-06-13 16:20 ` Matheus Izvekov
2006-06-13 16:44 ` Lennart Sorensen
2006-06-13 16:56 ` Matheus Izvekov
2006-06-13 22:47 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®