Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Eli Stair <estair@ilm.com>
To: Ruslan Sivak <rsivak@istandfor.com>
Cc: Guy Watkins <linux-raid@watkins-home.com>, linux-raid@vger.kernel.org
Subject: Re: raid10 on centos 5
Date: Fri, 04 May 2007 16:29:38 -0700	[thread overview]
Message-ID: <463BC1E2.6090301@ilm.com> (raw)
In-Reply-To: <463BBFFF.70000@istandfor.com>


You shouldn't need to build a new kernel, just extract the SRPM for the initial 
install (CentOS 5, no updated kernels), use the config for the appropriate kernel 
(SMP, UP, i386/x86_64), enable the raid10 module and do a 'make modules'.  You may 
need to do a minor amount of tweaking in the installer image to include this, but 
nothing serious.  Alternately, just building a driver disk with the module and 
source it in the install.  Interesting that it's not enabled in the installer 
image, because it's present in a fully-booted system... space limitations?


/eli

Ruslan Sivak wrote:
> Guy Watkins wrote:
>  > } -----Original Message-----
>  > } From: linux-raid-owner@vger.kernel.org [mailto:linux-raid-
>  > } owner@vger.kernel.org] On Behalf Of Ruslan Sivak
>  > } Sent: Friday, May 04, 2007 12:22 PM
>  > } To: linux-raid@vger.kernel.org
>  > } Subject: raid10 on centos 5
>  > }
>  > } I am trying to set up raid 10 and so far with no luck.  I have 4 
> drives,
>  > } and Anaconda will not let me do raid 10.  mdadm doesn't have the 
> raid 10
>  > } personality loaded.  When I create the array manually like so:
>  > }
>  > } 2 drives in /dev/md11 as raid1
>  > } 2 drives in /dev/md12 as raid1
>  > } md11 and md12 in /dev/md10 as raid0
>  > }
>  > } Everything looks fine from the shell, but anaconda only sees md11 and
>  > } md12.
>  > }
>  > } The only choice I see is to set up LVM over md11 and md12.  Is this
>  > } really raid10?
>  > }
>  > } Russ
>  >
>  > You are making a RAID1+RAID0 array.
>  > Try making a real RAID10 array with 4 drives.  This way you would 
> only have
>  > 1 array with 4 drives.
>  >
>  > >From the mdadm man page:
>  > Currently, Linux supports LINEAR md devices,  RAID0  (striping),  RAID1
>  >        (mirroring), RAID4, RAID5, RAID6, RAID10, MULTIPATH, and FAULTY.
>  >
>  > Notice RAID10 is listed, use that.  Man mdadm for more info.
>  >
>  > However, I would (and do) use RAID6.  With RAID6 any 2 disks can fail
>  > without data loss.  With RAID1+RAID0, any one disk can fail, a second
>  > failure has a 1 in 3 chance of vast data loss.
>  >
>  > I hope this helps,
>  > Guy
>  >
>  > -
>  >  
> 
> 
> Guy,
> 
> That's what I've been trying to do.  Unfortunatelly, my distro, CentOS 5
> (based on RHEL 5, I believe), does not have the RAID10 personality in
> the kernel.  I guess I would have to compile my own kernel and load the
> module through a driver disk.  Would that work?  Are there some
> instructions somewhere I can follow?
> 
> Russ
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2007-05-04 23:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 16:22 raid10 on centos 5 Ruslan Sivak
2007-05-04 16:50 ` Patrick_Boyd
2007-05-04 16:54   ` Ruslan Sivak
2007-05-04 17:23     ` Justin Piszcz
2007-05-04 17:28       ` Ruslan Sivak
2007-05-04 17:57         ` Justin Piszcz
2007-05-04 18:00           ` Ruslan Sivak
2007-05-04 18:11             ` Justin Piszcz
2007-05-04 22:03             ` David Greaves
2007-05-04 22:04               ` Ruslan Sivak
2007-05-04 23:13 ` Guy Watkins
2007-05-04 23:21   ` Ruslan Sivak
2007-05-04 23:29     ` Eli Stair [this message]
2007-05-04 23:51       ` Ruslan Sivak
2007-05-05  4:41     ` Guy Watkins

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=463BC1E2.6090301@ilm.com \
    --to=estair@ilm.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-raid@watkins-home.com \
    --cc=rsivak@istandfor.com \
    /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