From: Adam Goryachev <mailinglists@websitemanagers.com.au>
To: Asif Iqbal <vadud3@gmail.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: Failing to grow raid10 with one larger disk
Date: Fri, 25 Jan 2013 12:32:11 +1100 [thread overview]
Message-ID: <5101E09B.3030404@websitemanagers.com.au> (raw)
In-Reply-To: <CAOHBbgUbbxWZh2TM5m+o6ULHxctGPOs55mK3sKrX8A-D5UKJCg@mail.gmail.com>
On 25/01/13 12:22, Asif Iqbal wrote:
> On Thu, Jan 24, 2013 at 8:09 PM, Brad Campbell <brad@fnarfbargle.com> wrote:
>> On 25/01/13 09:02, Asif Iqbal wrote:
>>> I was hoping to grow the size of the raid10. I was following this link
>>> https://raid.wiki.kernel.org/index.php/Growing#Expanding_existing_partitions
>>
>> Re-read the second sentence on the first line of that page.
> doh! so I can only grow raid level 1/4/5/6
>
> ok, can you suggest how can I increase the /dir (/dev/md10) with bigger disks?
>
> I already backed up the data.
>
> does linux software raid allow disks of different sizes in raid10? I
> did not see much discussion
> of raid level 10 in that wiki page.
From my understanding, there are two methods:
1) Create new RAID10, dd old RAID10 to new one, expand
filesystem/lvm/whatever is on the RAID10
2) Don't use RAID10, use RAID1 + linear. Don't increase the size of
members, only add additional pairs at the end of the linear array.
3) The one exception to 2 is that you can expand the size of the last
pair, but this is somewhat tricky. I've done this successfully twice,
but I doubt you really want to be using linear anyway.
Regards,
Adam
--
Adam Goryachev
Website Managers
www.websitemanagers.com.au
next prev parent reply other threads:[~2013-01-25 1:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 0:33 Failing to grow raid10 with one larger disk Asif Iqbal
2013-01-25 0:43 ` Mathias Burén
2013-01-25 1:02 ` Asif Iqbal
2013-01-25 1:09 ` Brad Campbell
2013-01-25 1:22 ` Asif Iqbal
2013-01-25 1:32 ` Adam Goryachev [this message]
2013-01-25 1:56 ` Asif Iqbal
2013-01-25 2:06 ` Asif Iqbal
2013-01-25 2:07 ` Chris Murphy
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=5101E09B.3030404@websitemanagers.com.au \
--to=mailinglists@websitemanagers.com.au \
--cc=linux-raid@vger.kernel.org \
--cc=vadud3@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