Andy Smith <a...@strugglers.net> writes:

> Hi Kamil,
>
> On Tue, Nov 29, 2016 at 01:26:55AM +0100, Kamil Jońca wrote:
>> My first plan was somehow migrate to RAID10. I thought that is simply
>> "raid0 over some raid1 arrays" so it should be legal to use 2*1TB +
>> 2*1GB devices and then extend 2*1G => 2*1TB. But it not work that
>> way. All devices in linux mdadm raid10 array must be the same, or I'm
>> missing something.
>
> In <87d1hnff79.fsf@alfa.kjonca> you said you were hoping to go from
> 2*1TB to 4*1TB. What's the "2*1TB + 2*1GB" you mention now?

All migrating scenarios RAID1 -> RAID10 I have read assumes, that there
were period in time, when array is degreaded, and have no redundancy.

So I thought I can do someting like:
1. Create new md1 array with new 1TB drives + 2 small partitions (say 1G).
2. extend vg with this array
3. pvmove to new array
4. remove old md0 array
5. sequentially replace 1G partitions with 1TB disks (from old array )
   + --grow
and result will be raid10 array with new + old disks. But my scenario
will fails at 1. :)

I hope now is clearer why I speak about 2*1T+2*1G.
KJ


-- 
http://wolnelektury.pl/wesprzyj/teraz/
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.

Reply via email to