linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Moshe Yudkowsky <moshe@pobox.com>, linux-raid@vger.kernel.org
Subject: Re: In this partition scheme, grub does not find md information?
Date: Tue, 29 Jan 2008 15:47:16 +0100	[thread overview]
Message-ID: <479F3C74.1050605@rabbit.us> (raw)
In-Reply-To: <479F331F.7080902@msgid.tls.msk.ru>

Michael Tokarev wrote:
  > Raid10 IS RAID1+0 ;)
> It's just that linux raid10 driver can utilize more.. interesting ways
> to lay out the data.

This is misleading, and adds to the confusion existing even before linux 
raid10. When you say raid10 in the hardware raid world, what do you mean? 
Stripes of mirrors? Mirrors of stripes? Some proprietary extension?

What Neil did was generalize the concept of N drives - M copies, and called it 
10 because it could exactly mimic the layout of conventional 1+0 [*]. However 
thinking about md level 10 in the terms of RAID 1+0 is wrong. Two examples 
(there are many more):

	* mdadm -C -l 10 -n 3 -o f2 /dev/md10 /dev/sda1 /dev/sdb1 /dev/sdc1
Odd number of drives, no parity calculation overhead, yet the setup can still 
suffer a loss of a single drive

	* mdadm -C -l 10 -n 2 -o f2 /dev/md10 /dev/sda1 /dev/sdb1
This seems useless at first, as it effectively creates a RAID1 setup, without 
preserving the FS format on disk. However md10 has read balancing code, so one 
could get a single thread sustained read at a speed twice what he could 
possibly get with md1 in the current implementation

I guess I will sit down tonight and craft some patches to the existing md* man 
pages. Some things are indeed left unsaid.

Peter

[*] The layout is the same but the functionality is different. If you have 1+0 
on 4 drives, you can survive a loss of 2 drives as long as they are part of 
different mirrors. mdadm -C -l 10 -n 4 -o n2 <drives> however will _NOT_ 
survive a loss of 2 drives.

  reply	other threads:[~2008-01-29 14:47 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  4:44 In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29  5:08 ` Neil Brown
2008-01-29 11:02   ` Moshe Yudkowsky
2008-01-29 11:14     ` Peter Rabbitson
2008-01-29 11:29       ` Moshe Yudkowsky
2008-01-29 14:09         ` Michael Tokarev
2008-01-29 14:07       ` Michael Tokarev
2008-01-29 14:47         ` Peter Rabbitson [this message]
2008-01-29 15:13           ` Michael Tokarev
2008-01-29 15:41             ` Peter Rabbitson
2008-01-29 16:51               ` Michael Tokarev
2008-01-29 17:51                 ` Keld Jørn Simonsen
2008-01-29 16:16             ` Moshe Yudkowsky
2008-01-29 16:34               ` Peter Rabbitson
2008-01-29 19:34                 ` Moshe Yudkowsky
2008-01-29 20:21                   ` Keld Jørn Simonsen
2008-01-29 22:14                     ` Moshe Yudkowsky
2008-01-29 23:45                       ` Bill Davidsen
2008-01-30  0:13                         ` Moshe Yudkowsky
2008-01-30 22:36                           ` Bill Davidsen
2008-01-30  0:17                       ` Keld Jørn Simonsen
2008-01-29 23:44                   ` Bill Davidsen
2008-01-30  0:22                     ` Keld Jørn Simonsen
2008-01-30  0:26                       ` Peter Rabbitson
2008-01-30 22:39                         ` Bill Davidsen
2008-01-30  0:32                       ` Moshe Yudkowsky
2008-01-30  0:53                         ` Keld Jørn Simonsen
2008-01-30  1:00                           ` Moshe Yudkowsky
2008-01-31 14:40                             ` Bill Davidsen
2008-01-30 13:11                   ` Michael Tokarev
2008-01-30 14:10                     ` Moshe Yudkowsky
2008-01-30 14:41                       ` Michael Tokarev
2008-01-31 14:59                       ` Bill Davidsen
2008-02-02 20:17                         ` Bill Davidsen
2008-01-30 12:01                 ` Peter Rabbitson
2008-01-29 16:42               ` Michael Tokarev
2008-01-29 16:26             ` Keld Jørn Simonsen
2008-01-29 16:46               ` Michael Tokarev
2008-01-29 18:01                 ` Keld Jørn Simonsen
2008-01-30 13:37                   ` Michael Tokarev
2008-01-30 14:47                     ` Peter Rabbitson
2008-01-30 15:21                       ` Keld Jørn Simonsen
2008-01-30 15:35                         ` Peter Rabbitson
2008-01-30 15:46                           ` Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?) Moshe Yudkowsky
2008-01-30 15:56                             ` Tim Southerwood
2008-01-29 15:57           ` In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 16:37             ` Keld Jørn Simonsen
2008-01-29 16:57               ` Michael Tokarev
2008-01-30 11:03             ` David Greaves
2008-01-30 11:44               ` Moshe Yudkowsky
2008-01-30 12:00                 ` WRONG INFO (was Re: In this partition scheme, grub does not find md information?) Peter Rabbitson
2008-01-30 12:41                   ` David Greaves
2008-01-30 13:39                   ` Michael Tokarev
2008-02-04 16:49               ` In this partition scheme, grub does not find md information? John Stoffel
2008-02-04 17:26                 ` Michael Tokarev
2008-01-30 11:03           ` David Greaves
2008-01-29 14:48         ` Keld Jørn Simonsen
2008-01-29 16:00           ` Moshe Yudkowsky
2008-01-29 16:25             ` Peter Rabbitson
2008-01-29 14:04     ` Keld Jørn Simonsen

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=479F3C74.1050605@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --cc=linux-raid@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    --cc=moshe@pobox.com \
    /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;
as well as URLs for NNTP newsgroup(s).