Skip to main content
Delphix

Resolving iSCSI LUN Discovery Failures on Windows Machines

Problem

iSCSI LUN discovery fails

Explanation

As part of linking and provisioning, Delphix exports iSCSI LUNs to Windows PPT and target hosts. Then Delphix runs LUN discovery scripts on the remote hosts to find the disks that are exported from Delphix and then mounts them locally on the Windows machine. The pathology being described here happens when there are iSCSI target sessions in the "Reconnecting" state on the Windows machine, these can be seen in the "iSCSI Initiator" GUI ->Targets -> Discovered Targets -> Status field.

In the presence of these zombie targets, the iSCSI initiator might have problems detecting new LUNs exported to it from currently active targets.  (Also described here: http://www.alacritech.com/legacypdf/Microsoft_iSCSI_Initiator_Recon....)

Solution

For Delphix, it should be sufficient to just disconnect the "Reconnecting" targets. We will add the right target anyways the next time we want to mount a LUN on that Windows machine.