In an effort to find a more open alternative to ESXi I’ve been labbing with XCP-ng. Setting it up with an iSCSI connection to FreeNAS is rather simple, here I’ll explain how I’ve done it in hopes it can help others out there. I’ll be using fresh installs of XCP-ng and FreeNAS with a storage pool already created for this guide. Also I’ll use XCP-ng Center so a Windows system is required.
In my home lab setup I’ve currently got 1 FreeNAS box and 1 VMware ESXi box. They’re connected using a multipath iSCSI link on cheap quad-gigabit cards I brought used. This setup works quite well for home lab use and provides a safe enough place to store my VMs. In this article I’ll guide you through the setup process I’ve used to get iSCSI working between FreeNAS and ESXi. I’ll presume you’ve got a fresh FreeNAS and ESXi install on both systems and quad or dual gigabit links between them.
Setting up a Samba File Server from the command line may sound daunting but in this guide I’ll break it down in to simple steps any beginner with Linux can follow! You’ll need: A computer running Ubuntu Minimal/Server or Debian A computer to be the client (preferably Windows)