I have 4 drives for data storage, that i want to arrange in a software raid 10 (hardware raid is no option). I was asked to set all things up in a vm, so it is easier to change the hardware, if it is necessary. I have no experiences with software raid and vm's and I am wondering if it is even working. I am running ubuntu and i want to use kvm. I have a additional ssd where both are running. There are 2 ways that i can think about.
- Do the raid on the host and pass it to kvm
- Set up the raid in kvm.
I have a few concerns that both of these are really bad ideas(especially the 2.). So does it work? And if do i still have the advantages of a raid 10(faster, redundancy)? What is the best way to do this? 1. or 2. or a 3.?