All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Dann <pdgiddie@gmail.com>
To: linux-raid@vger.kernel.org
Subject: mdadm RAID1 -> 5 conversion safety
Date: Wed, 5 Feb 2020 11:51:06 +0000	[thread overview]
Message-ID: <CALZj-VqNACF+Dn5rBrLaVmvVE2weOAjqtvWpwKU7sE=72nyvXg@mail.gmail.com> (raw)

Hi there,

I've got a load of data on an md RAID 1 array assembled from 2x4TB
disks. I'm looking to expand this by adding a third 4TB disk and
converting the array to RAID 5. Now the required procedure is
documented on the wiki, but my question is:

When I convert the RAID 1 array to RAID 5, the array will be in a
degraded state as it rebuilds onto the new disk. However, if one of
the original two disks were to fail during this procedure, is mdadm
smart enough to convert the array back to degraded RAID 1, or will my
array now be a broken RAID 5 with no path to recovery?

Many thanks,
Paul

             reply	other threads:[~2020-02-05 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05 11:51 Paul Dann [this message]
2020-02-05 18:29 ` mdadm RAID1 -> 5 conversion safety Wols Lists
2020-02-06 22:41   ` NeilBrown

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='CALZj-VqNACF+Dn5rBrLaVmvVE2weOAjqtvWpwKU7sE=72nyvXg@mail.gmail.com' \
    --to=pdgiddie@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.