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  3.1.2.1, 3.1.3.0 , 3.1.3.1, 3.1.3.2, 3.1.4.0, 3.1.5.0, 3.1.6.0

3.0

3.0.0.3, 3.0.0.4, 3.0.1.0, 3.0.1.1, 3.0.1.2, 3.0.1.3, 3.0.2.0, 3.0.2.1, 3.0.3.0, 3.0.3.1, 3.0.4.0, 3.0.4.1, 3.0.5.0, 3.0.6.0, 3.0.6.1

Issue

During VDB operations (and possibly dSource operations) involving iSCSI mounting an error can occur which causes the job or task to fail:

Using Get-Disk to find the disk
WARNING_LUN_NOT_FOUND: Pausing for 6 seconds before retry
Microsoft iSCSI Initiator Version 6.3 Build 9600

The operation completed successfully.
TIMER(0.056): Add target portal
Microsoft iSCSI Initiator Version 6.3 Build 9600

The operation completed successfully.
TIMER(0.052): Refresh target portal
TIMER(0.155): Login to target, get session

Microsoft DiskPart version 6.3.9600

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: CUPWD00A0019

Please wait while DiskPart scans your configuration...

DiskPart has finished scanning your configuration.

Leaving DiskPart...
0
TIMER(28.816): diskpart rescan
Using Get-Disk to find the disk
die : Error: ERROR_LUN_NOT_FOUND: Could not find a device for lun (3, 600144F029788D0300005A1C24590241)

When this happens the operation fails causing disruption. In the case of VDBs, this is a critical situation.

Troubleshooting

In this specific case, check the iSCSI Initiator on the Windows target machine. If the disk number is listed as (-1) then the issue is possibly due to a disabled Windows disk device related to the LUN:

Disk_List.png

In the sample above, Port6: Bus 0: Target 1: LUN 3, represents the address of the LUN to mount to the disk. In this case, disk is named "Disk -1". At this point open the Windows Device Manager. The easiest way to do this is to open a cmd or powershell prompt and call "devmgmt.msc". See image below to navigate to the Disk Drives. Alternatively, you can open Control Panel and launch Device Manager or open Server Manager, click on the Computer Name, and from System Properties, click the Hardware tab and click the Device Manager button.

Select Disk Drives:

Device_Mgr.png

There might be several disk drives, and those representing the iSCSI LUNs are labeled as "DELPHIX COMSTAR SCSI Disk Device". If the LUN number is 3, check the fourth device down the list, right click on it and select Properties. An enabled device properties dialog looks like this:

Enabled_Device.png

A device that is disabled looks like this:

Disabled_Device.png

If this is the case in your situation, it is likely this disabled device is the cause of the problem.

Resolution

Enable the device by clicking Enable Device on the Device Properties window.

Additional Information

 

External Links

 

 

A Delphix JIRA bug is filed to provide an additional suggestion in the error message to check this device.

DLPX-57117: Provide suggested action to check status of windows disk device related to iSCSI lun