public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Nielsen <lists@jnielsen.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Raid10 howto
Date: Fri, 27 May 2011 13:03:35 -0400	[thread overview]
Message-ID: <FA6A0B4F-F55C-47D9-8081-AA0881BD9426@jnielsen.net> (raw)
In-Reply-To: <8078720605280620467@unknownmsgid>

On May 27, 2011, at 12:54 PM, Maxim Vorontsov wrote:

> I look how to create a RAID10. I understood correctly I must first
> create two RAID0 device for one RAID1? Or is simple command for
> creation RAID10 on 4 disks?
> 
> I dont find answer for this on gentoo.org or raid.wiki.kernel.org.

Linux does have a specialized "raid10" class if you use md. See the manpage and other documentation for mdadm and of course double-check the device names you want, but this is what I have done in the past:

# create the array
mdadm -C /dev/md2 -l 10 -c 128 -n 4 /dev/sd[c-f]

# add it to the config
mdadm --examine --scan | grep md2 >> /etc/mdadm.conf

JN




  reply	other threads:[~2011-05-27 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27 16:54 [gentoo-user] Raid10 howto Maxim Vorontsov
2011-05-27 17:03 ` John Nielsen [this message]
2011-05-27 17:04 ` Florian Philipp
2011-05-27 17:12   ` Maxim Vorontsov

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=FA6A0B4F-F55C-47D9-8081-AA0881BD9426@jnielsen.net \
    --to=lists@jnielsen.net \
    --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