linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jérôme Poulin" <jeromepoulin@gmail.com>
To: Alex <mysqlstudent@gmail.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Converting RAID1 to RAID5
Date: Thu, 15 Sep 2011 22:54:12 -0400	[thread overview]
Message-ID: <4529807989974810517@unknownmsgid> (raw)
In-Reply-To: <27910711.10376.1316131253095.JavaMail.mobile-sync@iagt29>

On 2011-09-15, at 19:50, Alex <mysqlstudent@gmail.com> wrote:

> When I try to grow the other two partitions (/ and /home), it fails
> with device busy:
>
> # mdadm --grow /dev/md2 --level=5 --raid-devices=3
> mdadm: level of /dev/md2 changed to raid5
> mdadm: Need to backup 128K of critical section..
> mdadm: Cannot set device shape for /dev/md2: Device or resource busy
>       Bitmap must be removed before shape can be changed
> mdadm: aborting level change
>

You must remove the bitmap first as told using mdadm --grow --bitmap=none

>
> When the conversion to RAID5 is complete, how can I regenerate the
> mdadm.conf to properly reflect the change?
>

The output of mdadm -Es might be enough for you.

      parent reply	other threads:[~2011-09-16  2:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11  3:38 Converting RAID1 to RAID5 Alex
2011-09-11  3:57 ` NeilBrown
2011-09-11 15:40   ` Alex
2011-09-15 23:50   ` Alex
2011-09-16  3:57     ` NeilBrown
2011-09-16 13:56       ` Alex
2011-09-16 15:10         ` Robin Hill
     [not found]   ` <27910711.10376.1316131253095.JavaMail.mobile-sync@iagt29>
2011-09-16  2:54     ` Jérôme Poulin [this message]

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=4529807989974810517@unknownmsgid \
    --to=jeromepoulin@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=mysqlstudent@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).