I read that software RAID should not be implemented on a machine that also has ESXi virtual machines running. Does this mean that I would want to avoid LVM and or LXC/Docker containers as well on this server?
Thanks
I read that software RAID should not be implemented on a machine that also has ESXi virtual machines running. Does this mean that I would want to avoid LVM and or LXC/Docker containers as well on this server?
Thanks
LXC/Docker by design doesn't have anything to do with RAID (any RAID) at all.
Docker/LXC containers are run on the same kernel as the host.
As such I don't think there are any docker related problems.
Actually, RAID10 is the preferred RAID level for high-performance virtual machines. While it has its shortcoming, I can not see why it should not be used with ESXi or Docker.
Back to original question: docker mainly is a user-space affaire. So it can not corrupt a software or hardware RAID device.
As a side note, I strongly advise you against cheap RAID cards. If you really want to do hardware RAID, buy a card with a DRAM cache and a BBU/NV module.
All software running on the machine operates as if the RAID is 1 device. This is why usually the device is /dev/sdc
instead of seeing /dev/sda
and then also /dev/sdb
.
If you're using a software RAID vs a RAID card then it's plausible that something on the OS could cause the OS injected RAID to not behave properly. I know people use them all the time but I highly suggest using a RAID card — even a cheap one if you have too, it's worth of loading this functionality to its own hardware