Views:

Summary

When you attempt to Instant Access (IA) map an Open Storage Server (OSS) server, the AI map fails. To resolve this issue, stop the StarWind service, clear the contents of the BexDevices.conf file, and start the StarWind service.

 

 

Symptoms

 

 

An attempt to IA map an Open Storage Serve results in the following error message:

 

 

Failed to map 'C:' to 'Y:' on node. RC=23002. An error occurred during creating a Lun.

This is further reflected in the .mpr log, similar to the following:

SNBMPR3069E 5664: Failed to create Lun on secondary(XRSERVER)

SNBMPR3066D 5664: createAndMapLun() failed. rt=23002

 

Resolution

 

 

Existing IA maps may prevent you from IA mapping. Unexpected Windows Server crashes and manual computer maintenance are often the cause. To resolve this, first attempt to unmap the existing IA maps using the DPX management console. If that fails, then clear the AI maps manually.

 

 

Important: Ensure that the Open Storage Server  is not hosting important/active IA maps to other clients; this procedure affects their connectivity. If IA maps are in use, wait until all IA map activity is completed and all drives are unmapped before performing this procedure.

To clear existing IA maps:

1. On the Open Storage Server, in the DPX installation directory, open the following file:

StarWind\BexDevices.conf

2. Observe the IA map resources that appear to be in use. Entries may be similar to the following:

LUN_ID: 0 Image_Name: G:\.BackupExpressSnapshots\SSSV_JOB\{BEX-473A-49CBA1A41030}
\[JOB]BEX301MS@{888B6DE3}\BEXIMAGE.RAW

Sparse_Image_Name: G:\.BackupExpressSnapshots\SSSV_JOB\{BEX-473A-49CBA1A41030}\
[JOB]BEX301MS@{888B6DE3}\sparse_1238083553.spr

Status: 0 Type: 3

Lun_Size: 8580243456

Initiator_Name: iqn.1991-05.com.microsoft:bex301ms.bex301jwf.syncsort.com

Initiator_Host_Name: bex301ms

Lun_Name: _.BackupExpressSnapshots_BEXLUN_SSV_1238083144

Lun_comment: 1238082243|map_lun

Lun_clone_status: 0

Lun_clone_position: 0

3. Review the affected client computers where the IA maps are supposed to be iSCSI mounted.

4. Attempt to use the DPX management console to unmap the IA maps. If this fails,
continue with step 5 to manually clear.

5. On the client computer attached to a logical unit number (LUN), log off using the
Microsoft iSCSI Initiator control panel and then remove the device.

Note: Windows may require a reboot for the device manager to completely disassociate
from the iSCSI LUN, even after the initiator has logged off of the target server.

6. Open the Windows Service Manager on your OSS server and stop the StarWind service.
All IA map activity from the OSS server is disabled.

7. Using a text editor, delete all of the contents of the BexDevices.conf file and save the file.

8. Start the StarWind service. You are now able to AI map the OSS and run condense.