Thread (9 messages) 9 messages, 5 authors, 2013-01-25

Re: Failing to grow raid10 with one larger disk

From: Asif Iqbal <hidden>
Date: 2013-01-25 02:06:06

On Thu, Jan 24, 2013 at 8:56 PM, Asif Iqbal [off-list ref] wrote:
On Thu, Jan 24, 2013 at 8:32 PM, Adam Goryachev
[off-list ref] wrote:
quoted
On 25/01/13 12:22, Asif Iqbal wrote:
quoted
On Thu, Jan 24, 2013 at 8:09 PM, Brad Campbell [off-list ref] wrote:
quoted
On 25/01/13 09:02, Asif Iqbal wrote:
quoted
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
I like this method. However, can I have raid10 with disks of multiple sizes?
( for my case 2 76G and 4 300G )

This answered my question

http://www.spinics.net/lists/raid/msg17303.html

quoted
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


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help