Answer the question
In order to leave comments, you need to log in
Is there a place to be RAID10 from mdadm and LVM2?
Who faced / collected: how does an array created in Linux using mdadm and LVM2 behave?
I saw recommendations for such an implementation in the redhat docs.
Those. we take 4 disks and assemble two mirrors using mdadm, and then using LVM2 we create a single volume on top of these arrays. On structure - RAID10, but on implementation not absolutely it.
How will it work in HDD and SSD drive options?
Are there any advantages and what are the disadvantages?
For what tasks will this be a good solution, and for what - a bad one?
Answer the question
In order to leave comments, you need to log in
7For example, this way https://www.allcloud.io/how-to/create-software-rai... we collect raid10, and on top of it lvm.
I have not tried with raid10 myself, the mirror works great.
The disadvantages are obvious - software raid, hardware raid is faster and more reliable. But this one is free. Synchronizes for a long time with the distraction of processor resources.
If you want to cache with ssd, then this is IMHO additional software like https://www.rath.org/ssd-caching-under-linux.html.
I use proxmox virtualization hosts.
> I.e. we take 4 disks and assemble two mirrors using mdadm, and then using LVM2 we create a single volume on top of these arrays. On structure - RAID10, but on implementation not absolutely it.
Bad idea. Precisely due to the fact that you are not doing a raid10, but a bicycle.
The whole ideology of RAID was built not around data backup, but around minimizing downtime and speeding up work.
You are doing lvm2 over the ride, that is, in case of failure, you will need to manually restore - and this is the opposite of what raid offers - take all the time spent on yourself, and you just need to re-plug the broken screw for a whole one.
It's better to make raid10 regularly (by means of the OS, by means of the controller) and on top of it already stir up lvm2 in order to work with dynamic partitions.
Is there a place to be RAID10 from mdadm and LVM2Yes.
How will it work in HDD and SSD drive options?It will work fine, both HDD and SSD. The only question is why do you need it, what tasks should it solve. We must proceed from this.
Who faced / collected: how does an array created in Linux using mdadm and LVM2 behave?
I saw recommendations for such an implementation in the redhat docs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question