I have a crazy idea. I would like your opinions on.
I have multiple HDDs in raid configuration. With mdadm. I dualboot Windows. However I cannot RAID drives there becase it changes disk to dynamic and then you have to use some tool to read Windows SW raid, and it doesn't bring no benefits when I mount Win RAID in Linux - It is slower than single drive -_-.
So I was thinking I could use Windows as a VM on top of the Linux host. Use Linux mdadm to raid drives, bcache to cache HDDs and have Windows VM with *relatively* fast storage, that can be read from Linux easily so I can have my stream library *relatively* fast and shared between Linux and Windows. So far I think it is possible.
BUT
If I want to use Windows for gaming I have to passthrou a GPU. If I pass my RTX 2060 I will not be able to play on that GPU throuh Linux right? As Xorg will not start on that GPU but the let say iGPU. And I cannot even force it as I cant run Xorg on GPU I would like to passthrou.
I am not sure if option 4 is sensible. But the way I am thinking about it, I could boot both Linux and Windows with Linux SW raid and bcache and NVIDIA GPU. Would it worth the tradeoff of not running natively? How much impact on performance would there be? Would it be possible to somehow generate initrd that autoboots Linux VM and other initrd that autoboots Windows VM?
Maybe this is stupid I don't know. Before someone say network storage - I only have 1GBit network card so it would neglected all the benefits of the raid.