From: Stan Hoeppner <stan@hardwarefreak.com>
To: Robert Goliasz <r.goliasz@digital-science.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Attempt to change raid1 to raid0 results in division error in kernel
Date: Thu, 23 May 2013 20:40:13 -0500 [thread overview]
Message-ID: <519EC4FD.1090800@hardwarefreak.com> (raw)
In-Reply-To: <20130523104400.GA827@gbl-macbook>
On 5/23/2013 5:44 AM, Robert Goliasz wrote:
> Hi,
>
> When attempting to change raid level from 1 to 0
I don't even know if this is possible.
> (I was doing some testing
> trying to convert a raid1 array to a raid10 one), I got a division error.
...
> gbl-macbook# mdadm --grow /dev/md0 -l 0
If it is possible, this command line won't work because you didn't
specify a chunk size for the RAID0 stripe. Every striped array type
requires a chunk size.
> zsh: segmentation fault mdadm --grow /dev/md0 -l 0
> gbl-macbook#
...
> Afterwards, my mounted filesystem (/dev/md0) disappeared (it's no longer
> mounted), and all operations related to software raid seem to fail:
Well of course. Experimenting with mdadm without knowing what you're
doing will often result in lost/corrupted arrays and other forms of damage.
At this point you should simply start a new thread and ask:
"How do I convert a RAID1 array to RAID0?"
or
"How do I convert a RAID1 array to RAID10?"
instead of working backwards from your mistakes here.
--
Stan
next prev parent reply other threads:[~2013-05-24 1:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-23 10:44 Attempt to change raid1 to raid0 results in division error in kernel Robert Goliasz
2013-05-24 1:40 ` Stan Hoeppner [this message]
2013-05-24 9:39 ` Robert Goliasz
2013-05-24 11:27 ` NeilBrown
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=519EC4FD.1090800@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=linux-raid@vger.kernel.org \
--cc=r.goliasz@digital-science.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 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.