From: "H. Peter Anvin" <hpa@zytor.com>
To: Neil Brown <neilb@suse.de>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>, linux-raid@vger.kernel.org
Subject: Re: Reshaping raid0/10
Date: Mon, 28 May 2007 21:51:16 -0700 [thread overview]
Message-ID: <465BB144.2060003@zytor.com> (raw)
In-Reply-To: <17908.33911.135761.236374@notabene.brown>
Back in March, Neil Brown wrote:
>
> Well.... it's not straight forward at all.
>
> Firstly: it can only work if all your drives are the same size
> (rounded to 64K). If they aren't raid0 will use all the available
> space on each drive, while raid5 will only use the amount that is
> available on the first drive.
>
> If that condition is met, then you can safely convert to a raid4 with
> one extra (missing) device by simply creating an array with the same
> drives (so you have to stop and restart the array - you cannot do that
> bit while the array is live). You seem to need --assume-clean
> to create the raid4 degraded... That is probably a bug in mdadm.
>
[rest of procedure deleted]
I just wanted to let you know we performed this procedure on
mirrors1.kernel.org. It was successful, and saved us from copying 3 TB
of data across the Internet.
-hpa
prev parent reply other threads:[~2007-05-29 4:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 16:28 Reshaping raid0/10 Jan Engelhardt
2007-02-21 19:59 ` Neil Brown
2007-02-22 6:09 ` dean gaudet
2007-02-23 12:59 ` Jan Engelhardt
2007-02-23 20:17 ` Neil Brown
2007-03-10 20:21 ` H. Peter Anvin
2007-03-10 21:19 ` Jan Engelhardt
2007-03-11 22:36 ` Neil Brown
2007-05-29 4:51 ` H. Peter Anvin [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=465BB144.2060003@zytor.com \
--to=hpa@zytor.com \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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