Re: Failing to grow raid10 with one larger disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/01/13 12:22, Asif Iqbal wrote:
> On Thu, Jan 24, 2013 at 8:09 PM, Brad Campbell <brad@xxxxxxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux