Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175270

Re: mdadm - two questions

From kjonca@poczta.onet.pl (Kamil Jońca)
Newsgroups linux.debian.user
Subject Re: mdadm - two questions
Date 2016-11-30 13:00 +0100
Message-ID <sJbIl-5Bx-7@gated-at.bofh.it> (permalink)
References <sGnd0-1Py-47@gated-at.bofh.it> <sIEMq-T5-11@gated-at.bofh.it> <sJ5jA-1Ed-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Andy Smith <andy@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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mdadm - two questions   kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-22 18:40 +0100
  Re: mdadm - two questions Dan Ritter <dsr@randomstring.org> - 2016-11-22 19:10 +0100
    Re: mdadm - two questions kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-22 21:40 +0100
      Re: mdadm - two questions Dan Ritter <dsr@randomstring.org> - 2016-11-22 22:00 +0100
        Re: mdadm - two questions kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-23 06:40 +0100
      Re: mdadm - two questions Jens Sauer <jsauer65@gmail.com> - 2016-11-22 22:10 +0100
  Re: mdadm - two questions Frédéric Marchal <frederic.marchal@wowtechnology.com> - 2016-11-23 14:10 +0100
  Re: mdadm - two questions kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-29 01:50 +0100
    Re: mdadm - two questions Andy Smith <andy@strugglers.net> - 2016-11-30 06:10 +0100
      Re: mdadm - two questions   Rick Thomas <rbthomas@pobox.com> - 2016-11-30 10:50 +0100
        Re: mdadm - two questions kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-30 13:10 +0100
          Re: mdadm - two questions   Rick Thomas <rbthomas@pobox.com> - 2016-11-30 14:20 +0100
      Re: mdadm - two questions kjonca@poczta.onet.pl (Kamil Jońca) - 2016-11-30 13:00 +0100
  mdadm - Progress mails of checkarray now missing Hans Kraus <hans@hanswkraus.com> - 2016-12-10 21:10 +0100

csiph-web