All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: Santiago DIEZ <santiago.diez@caoba.fr>,
	Linux Raid LIST <linux-raid@vger.kernel.org>
Subject: Re: Impossibly level change request for RAID1
Date: Wed, 15 Nov 2017 17:14:54 +0000	[thread overview]
Message-ID: <5A0C760E.9010105@youngman.org.uk> (raw)
In-Reply-To: <CAJh8RqV84uXJ9hV4uSAK-GsnN=FP4fT-S0VNNkSVOay5xZqt8w@mail.gmail.com>

On 15/11/17 16:52, Santiago DIEZ wrote:
> Hi,
> 
> I started by mistake a raid as RAID1 with 5 disks when my desire was
> to start it as RAID5. Technically, there is no data at all so I could
> entirely recreate the raid but this is NOT what I want. I'm taking
> this opportunity as an exercise to change a raid level.
> 
> The initial state of the raid is:
> md9 : active raid1 sda9[0] sdb9[1] sdc9[2] sdd9[3] sde9[4]
>       5846755328 blocks super 1.2 [5/5] [UUUUU]
>       bitmap: 0/44 pages [0KB], 65536KB chunk
> 
> # I tried to change the level with:
> mdadm /dev/md9 --grow --level=5
> # But got the error :
> mdadm: Impossibly level change request for RAID1

I'll leave the rest for someone else (or maybe me later :-) but just to
explain the "impossible level change", you cannot change a mirror with
more than two active devices. You need to have two active, three spares,
before it will change.

Cheers,
Wol

  reply	other threads:[~2017-11-15 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 16:52 Impossibly level change request for RAID1 Santiago DIEZ
2017-11-15 17:14 ` Wols Lists [this message]
2017-11-21 11:18   ` Santiago DIEZ

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=5A0C760E.9010105@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=santiago.diez@caoba.fr \
    /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.