Gentoo Archives: gentoo-user

From: John Nielsen <lists@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Raid10 howto
Date: Fri, 27 May 2011 17:05:20
Message-Id: FA6A0B4F-F55C-47D9-8081-AA0881BD9426@jnielsen.net
In Reply to: [gentoo-user] Raid10 howto by Maxim Vorontsov <6012030@gmail.com>
1 On May 27, 2011, at 12:54 PM, Maxim Vorontsov wrote:
2
3 > I look how to create a RAID10. I understood correctly I must first
4 > create two RAID0 device for one RAID1? Or is simple command for
5 > creation RAID10 on 4 disks?
6 >
7 > I dont find answer for this on gentoo.org or raid.wiki.kernel.org.
8
9 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:
10
11 # create the array
12 mdadm -C /dev/md2 -l 10 -c 128 -n 4 /dev/sd[c-f]
13
14 # add it to the config
15 mdadm --examine --scan | grep md2 >> /etc/mdadm.conf
16
17 JN