All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Unable to convert raid1 to raid5
Date: Fri, 5 Aug 2016 21:16:54 +0100	[thread overview]
Message-ID: <57A4F436.9080402@youngman.org.uk> (raw)

In my testing of xosview, I've been mucking about with a vm and raid.
xosview is looking quite promising (I've got a few comments about it,
but never mind).

BUT. In mucking about with raid 1, I increased my raid devices to three.
I now just can NOT convert the array to raid 5! I've been mucking around
with all sorts of things trying to get it to work, but finally two error
messages make things clear.

# mdadm /dev/md/testarray --grow --level=5 --backup-file=raidbackup
mdadm: Can only convert a 2-device array to RAID5
#

Okay. That shound't be a problem. BUT

# mdadm /dev/md/testarray --grow -n2
mdadm: failed to set raid disks
#

and I get that error even when I've failed and removed the third device.
Any ideas? Oh yes - I *have* downloaded the latest mdadm from Neil's git
repository :-)

I'm running SuSE leap 42.1, and I've disabled AppArmor (yes, I remember
SELinux mucking things up - I didn't want AppArmor doing the same ...)

Cheers,
Wol

             reply	other threads:[~2016-08-05 20:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 20:16 Wols Lists [this message]
2016-08-06 23:59 ` Unable to convert raid1 to raid5 Wols Lists
     [not found]   ` <CAN7jt2060xqsQB+nAnWO4LmqdUySkU_AWpq=UdFte=Ht0zuoPw@mail.gmail.com>
2016-08-07  1:00     ` Wols Lists
2016-08-12  1:32       ` NeilBrown
2016-08-12 12:37         ` Wols Lists

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=57A4F436.9080402@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --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.