SOLVED Unable to deploy image on fog to iSCSI target

  • I’ve initially created an image on fog of a sysprepped windows 10 installation.

    I then set up iSCSI block storage on my FreeNAS server as client space to install Windows on (

    I’ve set up a VM on the network without a hard drive (intend on using iscsi target as the primary drive), but cannot perform a full / quick host registration and inventory as I get “An error has been detected!” “Cannot find disk on system (getHardDisk)”.

    How do I mount the iSCSI target and deploy the image I saved to fog to the iSCSI target so I can then boot into the sysprepped windows through the fog menu?

  • Moderator

    Well I can say, that is a VERY good question. FOG is only intended to clone local block level devices. iSCSI is not necessarily in scope. With that said, it would be interesting to see it work. 😉

    So let me ask you this, if you manually register this VM and then schedule a debug deploy task (tick the debug checkbox before you hit the the schedule task button. Then pxe boot the VM. This will drop you to a linux command prompt on the VM. So to the question (since you seem to be familiar with iSCSI) can you mount the iSCSI lun from the FOS Linux client? If you can then we might have a solution. I don’t know off the top of my head if the iscsi tools are install in FOG Linux (they should be but I don’t know for absolute). If you can connect to the iSCSI LUN then document the process so we can create a bash script to do the same.