public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Raid10 howto
@ 2011-05-27 16:54 Maxim Vorontsov
  2011-05-27 17:03 ` John Nielsen
  2011-05-27 17:04 ` Florian Philipp
  0 siblings, 2 replies; 4+ messages in thread
From: Maxim Vorontsov @ 2011-05-27 16:54 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

Hello.

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.
--
Brgds
Maxim Vorontsov



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Raid10 howto
  2011-05-27 16:54 [gentoo-user] Raid10 howto Maxim Vorontsov
@ 2011-05-27 17:03 ` John Nielsen
  2011-05-27 17:04 ` Florian Philipp
  1 sibling, 0 replies; 4+ messages in thread
From: John Nielsen @ 2011-05-27 17:03 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Raid10 howto
  2011-05-27 16:54 [gentoo-user] Raid10 howto Maxim Vorontsov
  2011-05-27 17:03 ` John Nielsen
@ 2011-05-27 17:04 ` Florian Philipp
  2011-05-27 17:12   ` Maxim Vorontsov
  1 sibling, 1 reply; 4+ messages in thread
From: Florian Philipp @ 2011-05-27 17:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

Am 27.05.2011 18:54, schrieb Maxim Vorontsov:
> Hello.
> 
> 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.
> --
> Brgds
> Maxim Vorontsov
> 

I assume you want a software RAID (constructed with mdadm)? In that
case, you can create a RAID10 in a single step like this:
mdadm --create /dev/md0 --level=raid10 --raid-devices=4 /dev/sda
/dev/sdb /dev/sdc /dev/sdd

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Raid10 howto
  2011-05-27 17:04 ` Florian Philipp
@ 2011-05-27 17:12   ` Maxim Vorontsov
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Vorontsov @ 2011-05-27 17:12 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

Yes, it help.

Thank you and thank to John.

--
Maxim Vorontsov

27.05.2011, в 21:08, Florian Philipp <lists@binarywings.net> написал(а):

> Am 27.05.2011 18:54, schrieb Maxim Vorontsov:
>> Hello.
>>
>> 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.
>> --
>> Brgds
>> Maxim Vorontsov
>>
>
> I assume you want a software RAID (constructed with mdadm)? In that
> case, you can create a RAID10 in a single step like this:
> mdadm --create /dev/md0 --level=raid10 --raid-devices=4 /dev/sda
> /dev/sdb /dev/sdc /dev/sdd
>
> Hope this helps,
> Florian Philipp
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-27 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 16:54 [gentoo-user] Raid10 howto Maxim Vorontsov
2011-05-27 17:03 ` John Nielsen
2011-05-27 17:04 ` Florian Philipp
2011-05-27 17:12   ` Maxim Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox