Linux alternative to Storage Spaces
Solution 1:
You seem to be asking for a software RAID solution. There's two ways you can do this:
First, you can use RAID and LVM separately. You configure software RAID on Linux with mdadm
. You'll want to create a RAID array across all of your drives, and then create your LVM setup on top of the RAID array. See https://raid.wiki.kernel.org/index.php/RAID_setup for more details on this solution.
Second, LVM does actually have some mirroring support. You can get what's effectively RAID 1 by passing -m1
when you do lvcreate
. https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LV_create.html#mirror_create explains this in a bit more detail.
If you're wondering about the pros and cons of each of these approaches, see RAIDing with LVM vs MDRAID - pros and cons?.