- May 29, 2011
I have a slight misunderstanding on the installation part,
Do you? I don't think you've misunderstood at all. Your head seems to be screwed on at least generally straight.
If I install proxmox to one of the drives I have attached, how do I then passthrough my sata controller to freenas (for managing pools)?
All I have is a supermicro x11ssh board which has an onboard controller, I have nothing aside of it.
So If I passthrough the sata controller, how would proxmox have access to its storage?
It wouldn't. Just because you want to do something, doesn't make it possible or practical.
First, Proxmox isn't known to work well with FreeNAS. ESXi is. Proxmox might be able to be made to work with FreeNAS, but it is a significant variable.
Typically you need to arrange for storage for the hypervisor to boot from, and also to run VM's from. You cannot run a FreeNAS VM from storage being provided by FreeNAS, because FreeNAS isn't running until FreeNAS is booted. This is called a bootstrap paradox.
Therefore you will be arranging some additional storage for Proxmox. You more or less already figured this out, which is great. It means the rest of this will probably make sense.
ESXi will allow you to boot from USB thumb drives, but won't let you build a VM on it. The typical way to set up ESXi is to have an additional controller to either handle the FreeNAS drives, or if you're doing anything that even vaguely requires reliability, you get a RAID controller that is well-supported by ESXi, hook up two SSD's to it, configure it for RAID1, and then voila, hypervisor boot and VM storage is there. If you like maintaining a lower parts inventory, you can use an LSI low-end RAID controller (you know the same ones we crossflash to IT mode for use with FreeNAS).
You will need to figure out what to do for Proxmox.
I believe the 8 SATA ports on the X11SSH show up as a single controller, so it is all-or-nothing to pass that through.
There is also an M.2 NVMe slot IIRC. Your best bet is probably cramming a boot device in there. Otherwise you are looking at burning a PCIe slot. Someone will inevitably show up and suggest you jam a bunch of USB thumb drives in, but these will tend to burn out quickly.