All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: Dominique <dcouot@hotmail.com>
Cc: linux-raid mailing list <linux-raid@vger.kernel.org>
Subject: Re: Raid 5 to 6 migration
Date: Fri, 01 Feb 2013 12:50:45 -0500	[thread overview]
Message-ID: <510C0075.9010908@turmel.org> (raw)
In-Reply-To: <BLU0-SMTP433B0BCF64D448CC81098D2C91C0@phx.gbl>

On 02/01/2013 12:17 PM, Dominique wrote:
> Hi list,
> 
> I was wondering what would be the best way to convert a 6 hdd raid 5 to
> raid 6. Ideally without having to reformat everything and lose all the
> data in the process. I have backups of the data but I don't look forward
> reinstalling everything on that server.

1) Add a seventh drive to the system.

You can do this on the run if you have hotplug-capable sata ports or sas
ports.

2) Add that drive to the array w/ "mdadm --add"
3) Convert array to raid6 w/ "mdadm --grow --level=raid6"

You can do 2 & 3 on the run.

4) Monitor /proc/mdstat to see when it finishes.

HTH,

Phil


  reply	other threads:[~2013-02-01 17:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 17:17 Raid 5 to 6 migration Dominique
2013-02-01 17:50 ` Phil Turmel [this message]
2013-02-01 18:16   ` Roman Mamedov
2013-02-01 18:19     ` Phil Turmel
2013-02-01 18:49       ` Chris Murphy
2013-02-01 22:04         ` Phil Turmel
2013-02-01 22:38           ` Chris Murphy
     [not found]   ` <COL114-W137DD8871889508BBF087BC91C0@phx.gbl>
2013-02-01 18:22     ` Phil Turmel
2013-02-03 10:00       ` Roy Sigurd Karlsbakk
2013-02-03 14:30         ` Phil Turmel
2013-02-03 22:01           ` Robin Hill
2013-02-04 12:51       ` Dominique
2013-02-04 18:39         ` Phil Turmel
2013-02-05  0:58           ` Brad Campbell
2013-02-05 10:36           ` Dominique
2013-02-05 13:04             ` Phil Turmel

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=510C0075.9010908@turmel.org \
    --to=philip@turmel.org \
    --cc=dcouot@hotmail.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.