From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2BAC0945D1 for ; Tue, 18 Aug 2020 14:02:39 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2E8958EE625 for ; Tue, 18 Aug 2020 14:02:39 +0000 (UTC) Received: by mail-qv1-f49.google.com with SMTP id j10so9529785qvo.13 for ; Tue, 18 Aug 2020 07:02:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Christopher Jacoby Date: Tue, 18 Aug 2020 07:02:20 -0700 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a0158705ad27565d" Subject: Re: [linux-lvm] extend raid5 - how if possible? Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --000000000000a0158705ad27565d Content-Type: text/plain; charset="UTF-8" Unsubscribe On Tue, Aug 18, 2020, 12:28 AM Heinz Mauelshagen wrote: > On 8/15/20 10:57 AM, lejeczek wrote: > > Hi guys > > In hope that experts roam this list I want to ask if it is > possible to extend raid5. > If I wanted to be specific, raid created this way: > > $ lvcreate -n raid5.1 -l 100%pv --stripes 5 --stripe-size 8 > ST2000_front.0 /dev/sdj /dev/sdk /dev/sdn /dev/sdo /dev/sdp > /dev/sdq > > You can see I try to be specific about hard disks here. I > hope that later I can add more of exact same hard disk to > the system and extend such raid5. > > > As you consumed all capacity on those disks, you either got the option to > extend using lvextend (though you don't need the same disk sizes but you'd > need 6 more disks to be able to extend all the given raid5 stripes using > lvextend) -or- you can lvconvert adding stripes to your given raid5 which > will also grow the RaidLV size by the added stripe capacities. In that > later case of adding stripes, you'd have to deploy N additional disks (N = > number of stripes to add) of the same or larger size than the ones you got. > > Mind, you could also convert to e.g. raid6 in case your resilience > requirements change which'll require another disk to store parity blocks. > > Heinz > > > > many thanks, L. > > > _______________________________________________ > linux-lvm mailing listlinux-lvm@redhat.comhttps://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ --000000000000a0158705ad27565d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Unsubscribe

On Tue, Aug 18, 2020, 12:28 AM Heinz Mauelsha= gen <heinzm@redhat.com> wrot= e:
=20 =20 =20
On 8/15/20 10:57 AM, lejeczek wrote:
Hi guys

In hope that experts roam this list I want to ask if it is
possible to extend raid5.
If I wanted to be specific, raid created this way:

$ lvcreate -n raid5.1 -l 100%pv --stripes 5 --stripe-size 8
ST2000_front.0 /dev/sdj /dev/sdk /dev/sdn /dev/sdo /dev/sdp
/dev/sdq

You can see I try to be specific about hard disks here. I
hope that later I can add more of exact same hard disk to
the system and extend such raid5.


As you consumed all capacity on those disks, you either got the option to extend using lvextend (though you don't need the same disk sizes but you'd need 6 more disks to be able to extend all the given raid5 stripes using lvextend)=C2=A0 -or-=C2=A0 you can lvco= nvert adding stripes to your given raid5 which will also grow the RaidLV size by the added stripe capacities. =C2=A0 In that later case of adding stripes, you'd have to deploy N additional disks (N =3D number of stripes to add) of the same or larger size than the ones you got.

Mind, you could also convert to e.g. raid6 in case your resilience requirements change which'll require another disk to store parity blocks.

Heinz


many thanks, L.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/= linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--000000000000a0158705ad27565d--