From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQ0TP-0002Fn-RS for garchives@archives.gentoo.org; Fri, 27 May 2011 17:05:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D7E8E0023; Fri, 27 May 2011 17:03:42 +0000 (UTC) Received: from ns1temp.jnielsen.net (ns1temp.jnielsen.net [69.55.230.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 4624BE0023 for ; Fri, 27 May 2011 17:03:42 +0000 (UTC) Received: from jnielsen.socialserve.com ([12.249.176.26]) (authenticated bits=0) by ns1temp.jnielsen.net (8.14.3/8.14.3) with ESMTP id p4RH3ekI039731 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 27 May 2011 13:03:41 -0400 (EDT) (envelope-from lists@jnielsen.net) Content-Type: text/plain; charset=us-ascii Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [gentoo-user] Raid10 howto From: John Nielsen In-Reply-To: <8078720605280620467@unknownmsgid> Date: Fri, 27 May 2011 13:03:35 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8078720605280620467@unknownmsgid> To: gentoo-user@lists.gentoo.org X-Mailer: Apple Mail (2.1084) X-DCC-sonic.net-Metrics: ns1temp.jnielsen.net; whitelist X-Virus-Scanned: clamav-milter 0.97 at ns1temp.jnielsen.net X-Virus-Status: Clean X-Archives-Salt: X-Archives-Hash: a5100509aa0d0755efdc6dacf8644d37 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? >=20 > 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