* [linux-lvm] extend raid5 - how if possible? [not found] <d077323c-fd76-8ebf-ea2d-db8ba7b876b0.ref@yahoo.co.uk> @ 2020-08-15 8:57 ` lejeczek 2020-08-17 11:29 ` Heinz Mauelshagen 0 siblings, 1 reply; 3+ messages in thread From: lejeczek @ 2020-08-15 8:57 UTC (permalink / raw) To: LVM general discussion and development [-- Attachment #1: Type: text/plain, Size: 458 bytes --] 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. many thanks, L. [-- Attachment #2: pEpkey.asc --] [-- Type: application/pgp-keys, Size: 1787 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] extend raid5 - how if possible? 2020-08-15 8:57 ` [linux-lvm] extend raid5 - how if possible? lejeczek @ 2020-08-17 11:29 ` Heinz Mauelshagen 2020-08-18 14:02 ` Christopher Jacoby 0 siblings, 1 reply; 3+ messages in thread From: Heinz Mauelshagen @ 2020-08-17 11:29 UTC (permalink / raw) To: LVM general discussion and development, lejeczek [-- Attachment #1: Type: text/plain, Size: 1402 bytes --] 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 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/ [-- Attachment #2: Type: text/html, Size: 2357 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] extend raid5 - how if possible? 2020-08-17 11:29 ` Heinz Mauelshagen @ 2020-08-18 14:02 ` Christopher Jacoby 0 siblings, 0 replies; 3+ messages in thread From: Christopher Jacoby @ 2020-08-18 14:02 UTC (permalink / raw) To: LVM general discussion and development [-- Attachment #1: Type: text/plain, Size: 1719 bytes --] Unsubscribe On Tue, Aug 18, 2020, 12:28 AM Heinz Mauelshagen <heinzm@redhat.com> 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/ [-- Attachment #2: Type: text/html, Size: 2905 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-18 14:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <d077323c-fd76-8ebf-ea2d-db8ba7b876b0.ref@yahoo.co.uk> 2020-08-15 8:57 ` [linux-lvm] extend raid5 - how if possible? lejeczek 2020-08-17 11:29 ` Heinz Mauelshagen 2020-08-18 14:02 ` Christopher Jacoby
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).