Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Snapdrive for Windows fails to mount a RDM LUN in vSphere 6.5 due to a 1024 path limitation - Failed to Add the virtual Disk through raw device mapping

Views:
197
Visibility:
Public
Votes:
0
Category:
snapdrive-for-windows
Specialty:
snapx
Last Updated:

Applies to

Snapdrive for Windows 7.1.4/7.1.5
VMware vSphere 6.5

Issue

Attempts to mount a RDM LUN using Snapdrive for Windows fails, generating an error 

Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.

Review of the Snapdrive debug logs shows entires similar to the following:

05/08-14:55:46.815    PID:7184    TID:2232    FCPVdisk.cpp@4121        Failed to Add the virtual Disk through raw device mapping, , error code: '0x80004005', error description: 'Failed to Map virtual disk: The ESX cannot have more than 1024 paths'
05/08-14:55:46.815    PID:7184    TID:2232    FCPVdisk.cpp@4123        Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.
 HRESULT 0xc00403e3.

 
Review of the VirtualizationAPI log shows entries similar to the following:

VirtualizationAPILog Critical: 1 :    05/08-15:02:33.190  PID:9516  TID:8728 @-1  CEsxServer::GetLunInformation()  Name : COMException Message : The ESX cannot have more than 1024 paths Trace :    at VirtualizationAPI.CEsxServer.GetLunInformation(String strLunSerialNo, UInt32 nLunId, String& strDeviceName, String& strLUNuuid, EnumAdapterType eAdapterType, String strInitiatorName)
VirtualizationAPILog Critical: 1 :    05/08-15:02:33.190  PID:9516  TID:8728 @-1  CEsxServer::MapVirtualDisk() -  Name : COMException Message : The ESX cannot have more than 1024 paths Trace :    at VirtualizationAPI.CEsxServer.GetLunInformation(String strLunSerialNo, UInt32 nLunId, String& strDeviceName, String& strLUNuuid, EnumAdapterType eAdapterType, String strInitiatorName)
   at VirtualizationAPI.CEsxServer.MapVirtualDisk(String strLunSerialNo, UInt32 nLunId, String strDataStoreName, String strFilerName, UInt64 nSizeInKB, Boolean bRDMFileSpecified, String strRDMFileName, Boolean bShared, EnumAdapterType eAdapterType, String strInitiatorName, UInt32& nControllerKey)Datastore :<DS ID>

   
Review of the Window's Application Event logs show entries similar to the following:

Event ID 1120 
The following information was included with the event: 


/vol/volumename/
HTTPS

X
X
Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.

Failure in connecting to the LUN

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support