public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jim Burwell <jimb@jsbc.cc>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Software RAID Advice Needed
Date: Thu, 15 Dec 2005 18:38:59 -0800	[thread overview]
Message-ID: <43A228C3.7010208@jsbc.cc> (raw)
In-Reply-To: <7573e9640512151725g6ed19216kc6cd89a1134c262d@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3814 bytes --]

Richard Fish wrote:

>On 12/15/05, Ognjen Bezanov <ognjen@mailshack.com> wrote:
>  
>
>>I have found Linux Software RAID very useful and reliable. While
>>probably being beaten in the performance  area by hardware
>>implementations,
>>    
>>
>
>I just want to point out that when we are talking hardware here, we
>mean real hardware RAID...made by companies like 3-ware.  The
>'hardware' RAID in the NForce4 chipset (like just about all MB chips,
>and a lot of the cheap add-in cards) is just a BIOS helper...all of
>the actual RAID functions are expected to be implemented by the driver
>running on the CPU.
>
>  
>
Don't you hate how the hardware and mobo manufacturers have muddied the 
hardware RAID waters by marketing this sort of thing has hardware RAID 
(or at least implying it) ?

Another thing to check out, seeing that he has a mobo with built in 
ghetto-RAID (TM), is dmraid 
<http://people.redhat.com/%7Eheinzm/sw/dmraid/readme>.  This is a device 
mapper implementation of RAID which makes use of various fake hardware 
RAID metadata to support them under Linux.  Someone's also done up a 
Gentoo LiveCD <http://tienstra4.flatnet.tudelft.nl/%7Egerte/gen2dmraid/> 
with dmraid support on it too (who knows, perhaps the latest liveCDs 
have it also).  The only advantage of using this I can see is the 
ability to to make use of the BIOS RAID helpers to create and manage 
your arrays, and deal with the inherent boot time issues.  I'm not sure 
about the stability or reliability of this though, as I havn't used it, 
and the readme doesn't really give me courage :-).  Anyone using this 
successfuly ?  It seems interesting.

I just put together a little home server which uses both Linux RAID (md) 
and LVM2 on an old Abit KG7-RAID motherboard.  Even though it has a 
built in Highpoint HPT37X "RAID chip" (a ghetto-RAID BIOS helper), I 
decided to go with good old "md".  I've tested it by pulling power on 
drives, and it even boots up when the 'primary' drive doesn't exist 
(boot blocks on both mirrored drives of course).  Seems to work very 
well.  I have /boot mirrored (md0), and root and swap on LVM2 partitions 
which live on another mirrored partition (md1). 

For any wanting to do similar, you just need to set up GRUB on both 
drives, and make sure your have initramfs support for starting up md and 
LVM2.  Generkernel will produce a kernel with this if you compile the md 
drivers into the kernel, and include --lvm2 in the genkernel flags.  
Make sure you include "dovlm2" and lvmraid=/dev/mdX lines for each of of 
your RAID devices on the boot line, which tells the linuxrc scripts to 
start up your RAID devices in the initramfs so it can mount your LVM2 
root partition.

- Jim

-- 
+---------------------------------------------------------------------------+
|         Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC         |
+---------------------------------------------------------------------------+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco          |
| "..Government in its best state is but a necessary evil; in its worst     |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)        |
+---------------------------------------------------------------------------+
|   Email:  jimb@jsbc.cc                              ICQ UIN:  1695089     |
+---------------------------------------------------------------------------+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---------------------------------------------------------------------------+


[-- Attachment #2: Type: text/html, Size: 4520 bytes --]

  reply	other threads:[~2005-12-16  2:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 21:55 [gentoo-user] Software RAID Advice Needed Doug Brown
2005-12-15 22:29 ` Mike Williams
2005-12-15 22:33 ` kashani
2005-12-16  0:49   ` Ognjen Bezanov
2005-12-16  1:25     ` Richard Fish
2005-12-16  2:38       ` Jim Burwell [this message]
2005-12-16  1:21   ` Richard Fish
2005-12-16  9:49     ` Neil Bothwick
2005-12-16 10:06       ` jarry
2005-12-16 12:05         ` Jim Burwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43A228C3.7010208@jsbc.cc \
    --to=jimb@jsbc.cc \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox