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 |