Virtualized Unraid w/Proxmox;
I acknowledge it sounds crazy, but I'm thinking about running unraid in a virtualized environment with the host being Proxmox. I'm setting up a dev environment and need proxmox but I don't want to lose Unraid. The server is a DL180G6 w/2xE5620 CPUs. Has anyone attempted this kind of setup?
I understand passing through hard disks but what do you mean by "pass through the whole storage controller" when you say it?
I mean pass it through the same way people pass graphics cards through to a VM to game inside the VM. Allow the virtual machine direct and exclusive access to the PCIe device. Google VFIO or IOMMU to learn more.
Basically it removes the card from the host and attaches it to the VM. (The host can no longer access the card)
If I'm not using a SAS card, rather the disks are connected through SATA directly on the motherboard, is this still possible?
In theory yes. The SATA controller, even if it's built into the motherboard/PCH, is still a PCIe device.
In practise it's a little different. Two issues you would likely face:
-Passing through the SATA controller to your unraid VM means the host cannot access it while your VM is running. Do you have other storage options on the host?
-Often onboard PCIe devices such as the onboard SATA controller are in less than favorurable IOMMU groups, preventing passthrough, any guide to PCIe passthrough should explain how to check this.
Remember most hypervisor software should have an option to passthrough disks on their own. It's not ideal for unraid but it should work.