Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Stefan Roese <stefan.roese@gmail.com>
To: Roman Mamedov <rm@romanrm.ru>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, linux-raid@vger.kernel.org
Subject: Re: Convert RAID5 to RAID6 in a live system
Date: Wed, 23 Mar 2011 10:07:48 +0100	[thread overview]
Message-ID: <201103231007.48693.stefan.roese@gmail.com> (raw)
In-Reply-To: <20110323131424.70a0e08a@natsu>

On Wednesday 23 March 2011 09:14:24 Roman Mamedov wrote:
> > > I'm currently in the process of converting a 3 disk RAID5 array into a
> > > 4 disk RAID5 array. I'm using mdadm 3.1.4 and Linux kernel
> > > 2.6.35-28-generic (Ubuntu). My questions now is this conversion save
> > > in a live (running) system? Or is this now allowed/supported?
> > 
> > I guess you wanted to say "4 disk RAID6 array"?
> > 
> > In that case, yes, I have done it on 2.6.32 and mdadm version (something
> > older) and it went just fine.
> > 
> > Neil wrote about it here <http://neil.brown.name/blog/20090817000931>.
> 
> Additionally, I suggest that you also check "man mdadm" and note the
> "--layout=preserve" option, if you use it, the RAID5 to RAID6 conversion
> while adding one disk will happen instantly, without restriping (but only
> with a resync of the new drive).

Thanks. I already started with this conversion, so this "--layout=preserve" is 
not an option for me any more. But good to know that this conversion should 
work. But its slow - it'll take approx. 4 days with my 2TB drives.

Best regards,
Stefan

  reply	other threads:[~2011-03-23  9:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23  7:43 Convert RAID5 to RAID6 in a live system Stefan Roese
2011-03-23  8:07 ` Mikael Abrahamsson
2011-03-23  8:14   ` Roman Mamedov
2011-03-23  9:07     ` Stefan Roese [this message]
2011-03-23 11:15       ` Mikael Abrahamsson

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=201103231007.48693.stefan.roese@gmail.com \
    --to=stefan.roese@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=rm@romanrm.ru \
    --cc=swmike@swm.pp.se \
    /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