linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.ru>
To: "Mathias Burén" <mathias.buren@gmail.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: Growing 6 HDD RAID5 to 7 HDD RAID5
Date: Wed, 13 Apr 2011 00:22:38 +0600	[thread overview]
Message-ID: <20110413002238.3f31bdeb@natsu> (raw)
In-Reply-To: <BANLkTim-iiYbza8ZZZv60ArRfXjnOuU7sg@mail.gmail.com>

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

On Tue, 12 Apr 2011 18:21:13 +0100
Mathias Burén <mathias.buren@gmail.com> wrote:

> If I use --layout=preserve , what impact will that have?
> If I preserve the layout, what is the final result of the array
> compared to not preserving it?

Neil wrote about this on his blog:
"It is a very similar process that can now be used to convert a RAID5 to a
RAID6. We first change the RAID5 to RAID6 with a non-standard layout that has
the parity blocks distributed as normal, but the Q blocks all on the last
device (a new device). So this is RAID6 using the RAID6 driver, but with a
non-RAID6 layout. So we "simply" change the layout and the job is done."
http://neil.brown.name/blog/20090817000931

Admittedly it is not completely clear to me what are the long-term downsides of
this layout. As I understand it does fully provide the RAID6-level redundancy.
Perhaps just the performance will suffer a bit? Maybe someone can explain this
more.

If anything, I think it is safe to use this layout for a while, e.g. in case
you don't want to rebuild 'right now'. You can always change the layout to the
traditional one later, by issuing "--grow --layout=normalise". Or perhaps if
you plan to add another disk soon, you can normalise it on that occasion, and
still gain the benefit of only one full reshape.

>  Will the array have redundancy during the rebuild of the new drive?

If you choose --layout=preserve, your array immediately becomes a RAID6 with
one rebuilding drive. So this is the kind of redundancy you will have during
that rebuild - tolerance of up to one more (among the "old" drives) failure,
in other words, identical to what you currently have with RAID5.

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-04-12 18:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 16:56 Growing 6 HDD RAID5 to 7 HDD RAID5 Mathias Burén
2011-04-12 17:14 ` Roman Mamedov
2011-04-12 17:21   ` Mathias Burén
2011-04-12 18:22     ` Roman Mamedov [this message]
2011-04-12 21:15       ` NeilBrown
2011-04-12 21:53         ` Mathias Burén
2011-04-13 11:44 ` Growing 6 HDD RAID5 to 7 HDD RAID6 John Robinson
2011-04-22  9:39   ` Mathias Burén
2011-04-22 10:05     ` Mathias Burén
2011-04-29 22:45       ` Mathias Burén

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=20110413002238.3f31bdeb@natsu \
    --to=rm@romanrm.ru \
    --cc=linux-raid@vger.kernel.org \
    --cc=mathias.buren@gmail.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).